-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
Release 1.5 Quick Open never finishes and Activity Monitor shows high CPU #12047
Comments
@jpconsi There is a performance regression in 1.5.x when there are large excluded folders which is fixed with #11874 in the 'insiders' build. Let me know if that fixes it if you get a chance to give the insiders build a try. Might also be a combination of issues you see, marking as duplicate of #11963. |
Ran this command: time (find -L . -type f|wc -l); echo $? real 6m6.056s The above was with regular VS Code. Below is with Insider VS Code. Note, I have no excluded files defined user settings on the VS Code Insider. time (find -L . -type f | wc -l); echo $? real 9m37.093s |
@jpconsi Thanks for letting me know. Did you run the |
Reading the other post. I ran ps aux| grep of the code helper that was taking high cpu. Found that it was fileWatcher. I had already had many files paths excluded. This is my final version that seems to be keeping CodeHelper (fileWatcher) from running over 100% cpu. Originally, I had "/node_modules":true I find that it does not work. I had to add ** at the end as shown in the below example. :/node_modules/*":true For some reason when I post this it removes the *. So you need the ** before node_modules and after node_modules. Do this for for all folders you want to exclude. "files.watcherExclude": { |
@chrmarti I did not realize what the time (find ... thing was doing) I have multiple projects so I ran that on any project I was in. Below is the largest project. 9700987 |
What do your Btw., you can use single backticks to include the patterns within text and tripple backticks to include the patterns as a block. (See |
Steps to Reproduce:
Note: In prior versions I was using Command E and it worked great. In version 1.5.1 that was taken away so I had to start using Command P and it has never worked the same.
The text was updated successfully, but these errors were encountered: