Bug: Performance regression from #7752 in project service due to changed file name casing #8519
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
package: typescript-estree
Issues related to @typescript-eslint/typescript-estree
performance
Issues regarding performance
Milestone
Overview
Following up on https://twitter.com/OliverJAsh/status/1757013260698607983:
@OliverJAsh and I went over the reproduction in a 1:1 just now (thanks again Oliver! 馃檶). It was in fact #7752's changes to
useProgramFromProjectService
. Specifically the changes to the file path provided toprojectService.openClientFile
. Roughly:The resultant file path provided changed casing. Roughly:
This, for some reason, caused the project service to jump from ~5-7 seconds of file parse time to ~30-50 seconds or so.
cc @jakebailey as FYI.
The text was updated successfully, but these errors were encountered: