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

Slow startup for large projects #271

Closed
antelle opened this issue Jan 17, 2017 · 8 comments
Closed

Slow startup for large projects #271

antelle opened this issue Jan 17, 2017 · 8 comments
Assignees
Labels
FY2019Q5 atom perf More information: https://github.com/github/pe-atom-log/issues/728 performance startup-time

Comments

@antelle
Copy link

antelle commented Jan 17, 2017

Each time you open a project and bring up fuzzy-finder, it shows 'Indexing...' for several seconds. For large projects it's quite annoying.
Suggested solution: save per-project caches after reindex and load them on startup, delete old caches. I've implemented it in my fork here and can make a pull request, if this idea is welcome.
On my project with ≈50k files, fuzzy finder can be used immediately after startup and it saves time.

@50Wliu
Copy link
Contributor

50Wliu commented Jan 17, 2017

It definitely seems feasible. A PR would be nice, though I can't guarantee that we'll end up going with that solution in the end.

@eeejay
Copy link

eeejay commented Jun 1, 2017

I hack on the Gecko, and there are almost 200k files in the source tree. It takes fuzzy finder 17 seconds to index the project. That would be bad enough if it did it the first time you opened it, but it also does it every time you use the finder after refocusing the window.

I made a few changes (pull #301) to optimize how the project gets indexed. There is a 40x speedup, now the Gecko tree gets indexed in half a second.

Caching would be a good idea too, or at least incremental re-indexing.

@jamesona
Copy link

jamesona commented Jul 3, 2017

This would be HUGE for myself, and my team. Our company handles a lot of very wide repos, and the sum of the projects fuzzy-finder tries to index ends up being right around 1M inodes.

@arielnoname
Copy link

anything on this? keeps happening. even with small projects

@alxtz
Copy link

alxtz commented Feb 2, 2018

@arielnoname if you have file-icon installed, checkout this issue for the root cause #269

@tlorens tlorens mentioned this issue May 31, 2018
@mzhaase
Copy link

mzhaase commented Jul 24, 2018

Is there any progress on this? Happens even without file-icon. Some cache option would be nice.

@rafeca
Copy link
Contributor

rafeca commented Mar 15, 2019

Hey folks, this will get substantially improved by #369

@rafeca rafeca self-assigned this Mar 15, 2019
@rafeca rafeca added the FY2019Q5 atom perf More information: https://github.com/github/pe-atom-log/issues/728 label Mar 19, 2019
@rafeca
Copy link
Contributor

rafeca commented Mar 19, 2019

Now that #369 got merged, it's time to close this issue 😄

@rafeca rafeca closed this as completed Mar 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FY2019Q5 atom perf More information: https://github.com/github/pe-atom-log/issues/728 performance startup-time
Projects
None yet
Development

No branches or pull requests

9 participants