Skip to content
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 Files (Ctrl+P) is very slow #26868

Closed
smrucv opened this issue May 18, 2017 · 10 comments
Closed

Find Files (Ctrl+P) is very slow #26868

smrucv opened this issue May 18, 2017 · 10 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster search Search widget and operation issues

Comments

@smrucv
Copy link

smrucv commented May 18, 2017

  • VSCode Version: Code 1.12.2 (19222cd, 2017-05-10T13:20:36.315Z)
  • OS Version: Windows_NT ia32 10.0.15063
  • Extensions:
Extension Author Version
delphi-keybindings alefragnani 0.2.0
delphi-pack alefragnani 0.1.0
numbered-bookmarks alefragnani 0.9.1
pascal alefragnani 0.8.0
python donjayamanne 0.6.4
classic-asp ilich8086 0.0.2
classic-asp-html jtjoo 0.0.1
python tht13 0.2.3
asp tron 0.0.1
pygame-snippets tushortz 0.0.1

Steps to Reproduce:

@chrmarti
Copy link
Collaborator

  • Is this on a local or a remote filesystem?
  • How many files are in your folder?
  • How long does it roughly take until results are shown?

@chrmarti chrmarti added the info-needed Issue requires more information from poster label May 19, 2017
@smrucv
Copy link
Author

smrucv commented May 19, 2017

Hi,

It's a remote system, it may take more than 20 minute to find a file when I type it completely, sometimes it never ends. My folder and subfolder has mare than 100 thousands files.

I tried with other programs and are much more faster finding files, but I like VS Code that's why I ask.

Thanks in advance.

@chrmarti
Copy link
Collaborator

What about text search (Ctrl + Shift + F) performance, how slow is that?

@chrmarti chrmarti added bug Issue identified by VS Code Team member as probable bug search Search widget and operation issues and removed info-needed Issue requires more information from poster labels May 19, 2017
@smrucv
Copy link
Author

smrucv commented May 29, 2017 via email

@ankitrg
Copy link

ankitrg commented Jun 7, 2017

I am also facing this problem I am on the latest version.

  • My files are on local.
  • I have 30k files
  • It takes around 10 secs to show some search

@Somnium7
Copy link

To ankitrg, I guess that 10 secs for 30k files is pretty normal.

@bwinton
Copy link

bwinton commented Aug 21, 2017

Is there any way to short-cut the find operations? I often copy full paths to files from git status, and then try to open them in VSCode, but Ctrl-O doesn't let me paste the path, and Ctrl-P takes ages even though I've pasted in the exact place to find the file… 😢 If VSCode did a quick check at the start to say "Hey, does this thing exactly match a file in our directory? Let's just show that item now while we continue to look for more matches." that would speed up my workflow immensely!

(Also, 10 seconds for 30k files is not normal, it's a sign that you need a better data structure. 😉)

@chrmarti
Copy link
Collaborator

chrmarti commented Dec 1, 2017

@smrucv Which remote filesystem is this? We have reports of slow performance with sshfs.

@chrmarti chrmarti added the info-needed Issue requires more information from poster label Dec 1, 2017
@vscodebot vscodebot bot closed this as completed Dec 8, 2017
@vscodebot
Copy link

vscodebot bot commented Dec 8, 2017

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@bwinton
Copy link

bwinton commented Dec 8, 2017

Seriously? Nothing between Aug 21st and Dec 1st, then you only wait 7 days for a response, and don't ping any of the people who might be able to answer? Poor form, vscodebot.

In my case it was a local filesystem on Windows 10 Pro, no sshfs. I've since switched to Atom, which (after the initial indexing) can find a file almost as fast as I type.

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster search Search widget and operation issues
Projects
None yet
Development

No branches or pull requests

5 participants