Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Extremely slow since 1.2.0 (Atom.) #153

Open
envygeeks opened this issue Nov 13, 2015 · 17 comments
Open

Extremely slow since 1.2.0 (Atom.) #153

envygeeks opened this issue Nov 13, 2015 · 17 comments

Comments

@envygeeks
Copy link

With the release of Atom 1.2.0 fuzzy-finder is now extremely slow. Where before it would instantly display results and react much faster to my typing, now it delays so much that I'm done typing before it even finds the first result and I feel like I could slam my head on the table 3 or 4 times before it even discovers the result.

@envygeeks
Copy link
Author

I've discovered it's because we had a link to a large folder with about a thousand files but I didn't notice that problem prior to 1.2.0 so I don't know if there is a perf problem somewhere.

@envygeeks
Copy link
Author

@jeancroy yeah 1.1 was blazing fast, even with those links it was blazing fast, I didn't notice we were using those links until 1.2.0. Alternate scoring is enabled because I default CTRL+O to fuzzy finder because it's much faster and it made things even easier to open.

@jeancroy
Copy link
Contributor

Ok because I had one user report that the alternate scoring was slow on his system. Can you try disabling it just to see if speed is faster ?

It would surprise me because it hasn't really changed since the one package with 1.1. And your system clearly have spec to run it.

@layonferreira
Copy link

I'm experiencing the same problem, when I turn off alternative scrolling, it gets a little faster, but still slower.

update:

checking exclude VCS ignored paths option, seems to fix for me.

@lee-dohm
Copy link
Contributor

lee-dohm commented Nov 26, 2015

If someone can reproduce the "slower on v1.2.0" or "slower with alternative scoring" ... can you do a CPU profile per the instructions in the Atom Flight Manual? Having specific information could be quite useful.

@envygeeks
Copy link
Author

I do Ruby, C and Python because I do systems, JavaScript isn't on my list of goto tools unless I'm in the front, .bundle is always in the list of files to ignore by default in all projects and we tell Atom to ignore those files too, we don't get any folders or files from ~/.bundle or /var/lib/gems

@umpirsky
Copy link

umpirsky commented Feb 7, 2017

Sorry for commenting on old issue, but I see it's still opened and it matches my experience.

It is slow in 1.13, and it was faster before, 1.12 iirc. Checking exclude VCS ignored paths option helps, but that's not a fix, I need to fuzzy find vendor classes because I often read/extend vendors code.

@lee-dohm
Copy link
Contributor

lee-dohm commented Feb 7, 2017

@umpirsky If you can supply a CPU profile as I asked above that would be helpful.

@umpirsky
Copy link

umpirsky commented Feb 7, 2017

@lee-dohm I can try, can you double check the link in the comment, it leads to home page now?

@lee-dohm
Copy link
Contributor

lee-dohm commented Feb 7, 2017

@umpirsky I updated the link above and you can find it here: http://flight-manual.atom.io/hacking-atom/sections/debugging/#diagnose-runtime-performance

@umpirsky
Copy link

umpirsky commented Feb 7, 2017

@lee-dohm I saved, but saved file is empty for some reason, here is the screenshot:

screenshot from 2017-02-07 18-38-14

@lee-dohm
Copy link
Contributor

lee-dohm commented Feb 7, 2017 via email

@umpirsky
Copy link

umpirsky commented Feb 7, 2017

@lee-dohm I tried a number of times, always empty files saved. Is there some preparation I should do in order to be able to save them?

@lee-dohm
Copy link
Contributor

lee-dohm commented Feb 7, 2017 via email

@umpirsky
Copy link

umpirsky commented Feb 7, 2017

@lee-dohm OK, feel free to ping me for CPU profile once you figure it out, I'd be glad to provide one.

@lee-dohm
Copy link
Contributor

lee-dohm commented Feb 7, 2017

Will do @umpirsky ... we're tracking this in atom/atom#13767 if you would like to subscribe as well.

@umpirsky
Copy link

umpirsky commented Jun 4, 2017

It got much faster after disabling file-icons #269.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants