-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Find in files operation extremely slow after upgrade to 1.33.0 #71819
Comments
Nothing changed on our end. Does the process MsMpEng.exe show up in task manager? If not what is using high CPU? What do you mean by
|
Ok. That's windows defender scanning all the files being searched. Unfortunately there's nothing we can do about that. This sometimes happens after new releases. I'm guessing that the new code gets whitelisted by Defender after it has been out for a bit. |
What files would I need to exclude in vscode files? Thank you! |
Same problem here, mine is on infinite load loop and the intellisense is stuck forever. |
Not sure what you mean, if you have a large folder like node_modules that isn't already excluded from search, you can add that to |
I wanted to understand what files might be responsible for the dramatic slowdown. The node_modules folder, all temp folders a d distribution directories are always excluded from searching. |
Unfortunately Windows Defender thinks that it needs to scan all files as they are searched, and apps don't have any control over that. |
... even if I exclude them from the search? |
It's scanning the files that are searched |
... then I really don’t understand why it slowed down so much after the update. Maybe something else changed and I will have to dig deeper. |
@doberkofler I think #71751 will solve your problem. There is a workaround in the comment. |
Issue Type: Performance Issue
It seems that the upgrade to 1.33.0 might have introduced some performance problems when searching for something in multiple files. Searching in a repository of about 600 files typically took 10-15 seconds and now takes up to 5 minutes. Unfortunetely the problem does not seem to be consistent but it happens in 50-75% of find operations. While running the build in "Process explorer shows "30 559 14508 window (module.ts - periscope - Visual Studio Code [Administrator]) and the cpu utilization in the task manager of Windows stays on 100%.
VS Code version: Code 1.33.0 (0dd516d, 2019-04-04T15:14:28.026Z)
OS version: Windows_NT x64 6.1.7601
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: unavailable_off
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Process Info
Workspace Info
Extensions (11)
The text was updated successfully, but these errors were encountered: