-
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
File search slow with many excluded files #11874
Comments
@YuJianrong Could you run |
1587724 real 0m20.528s Some information may be helpful: |
Thanks @YuJianrong. One of my changes switched to using 'find' and the exclusion filters are then applied only on the output of that. A possible fix would be to use The bug that multiple find processes can run concurrently is tracked by #11181. |
This is the relevant part of the man page for
Version info:
|
It turns out that we can apply the **/something exclusions with the faster -name, all other exclusions could still be applied after 'find', e.g.: time (find -L . -not ( ( -name folder1 -o -name folder2 ) -prune ) -type f | wc -l) |
Fixed: 50bb7aa |
Thanks for fixing this! I eagerly await the next release, as I hit this issue pretty hard and can't use VS Code because of it. :( |
Steps to Reproduce:
1.Open a large project with many files
2.Click CMD+P to open fie file pick-up window
3.Input the file name
4.No file listed, loading bar is animating
5.I had noticed 12 processed are created on background with process name "find"
The text was updated successfully, but these errors were encountered: