Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Performance #31
Comments
|
I don't think ivy should be slower than helm in general, so probably counsel-projectile does something less efficiently than helm-projectile. I don't have such a large project to test, could you point me to one perhaps on github that I could clone? Please beware that I am really out of time at the moment so this will likely take me a while, sorry about that. |
|
Could you let me know if the issue is still there when calling Also, what happens if you use projectile with ivy as completion system but not counsel-projectile? That is, evaluate
then call |
freesteph
commented
Apr 11, 2017
|
@ericdanan I'm encountering the same issue, followed your instructions in my scratch buffer, and everything is much faster now. Can you let me know what else I could provide to help us get to the bottom of this? |
unhammer
commented
Apr 30, 2017
|
I also noticed that this was a lot slower than just running projectile with ivy. Profiler gives:
|
This was referenced Jun 9, 2017
|
See #44 |
ericdanan
closed this
Aug 16, 2017
quicknir
commented
Aug 16, 2017
•
|
@ericdanan Just as a sort of heads up, some of my investigations into projectile more recently showed that in addition to additional lag from counsel, projectile itself is also ridiculously slow. On a project of 30K files, without caching, projectile (whether with helm or with counsel) takes 10+ seconds. But a simple When I looked into the code I remember vaguely seeing that proejctile does caching in an insane way. It actually stores all of the filenames as a variable in a lisp file (!!!) and then you read the cache by reading this entire file basically. The approach is kind of crazy compared to just having a text file with one filename per line that would be dead easy and fast to search. Anyway my plan is just to move away from projectile as fast as possible at this point (which sadly, may not be that fast). Thanks for your effort and help, cheers. |
quicknir commentedFeb 14, 2017
I'm working with a project of some 30K files. projectile-use-cache is t. With helm, find file starts almost instantly. With counsel, it takes like 2-3 seconds. Is it expected that the performance is that much worse?