Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

emacs helm-projectile, slow startup and projectile file find very slow

I'm on emacs using helm-projectile. I notice that emacs startup is very slow, ~4s. And projectile find fuzzy matching is slow as well, when I type the file name in full it takes about ~3s.

I am working on a very large project, ~110K files. Is there someway I can exclude from folders from the search path?

like image 562
mingxiao Avatar asked Sep 11 '15 00:09

mingxiao


1 Answers

I found a huge speedup by enabling Projectile's caching.

To turn it on, M-x customize-variable for projectile-enable-caching and set it to on.

Docs: https://github.com/bbatsov/projectile/blob/master/doc/configuration.md#caching

Since indexing a big project is not exactly quick (especially in Emacs Lisp), Projectile supports caching of the project's files. The caching is enabled by default whenever native indexing (editor's note: native indexing is for Windows) is enabled.

like image 103
Topher Avatar answered Oct 06 '22 02:10

Topher