-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opening/editing project file causes 100% CPU usage by tsserver #29834
Comments
Thanks for the example project. I can't repo this however. @pqvst Have you perhaps configured the The 1 MB+ file makes this sound similar to #27960 |
In my regular instance of vscode I have Note that my CPU usage spikes both when opening the large file, but also when just opening a file that requires the large file. I also just noticed that when I open the large file ( Another note. If I comment out the code in However, if I add more usage, then the CPU spike lasts much longer: It's odd that you're not able to reproduce the issue though 🤔 |
I don't think this has anything to do with large file but the type of file and its semantic analysis or operations like quick info,error checking. So this seems like dup of #27960 but not quite since the outlining doesn't cause issue as yet but the root cause seems similar.
|
#30411 should fix all the slowness caused by the big object type, however |
Steps to Reproduce:
browse.js
Expected results:
I expect to be able to work in my code base without having my fans go crazy.
Actual results:
Working in my code base causes my fans to go crazy.
Does this issue occur when all extensions are disabled?:
Yes
The text was updated successfully, but these errors were encountered: