-
Couldn't load subscription status.
- Fork 296
How to profile vim gitgutter
Andy Stewart edited this page Jun 26, 2014
·
1 revision
The best way to identify bottlenecks is to profile Vim (see :help profiler).
Add these two lines to your vimrc, ensuring you put them above any package manager such as pathogen or vundle. (The second line assumes your copy of vim-gitgutter lives in a directory named vim-gitgutter; adjust as needed.)
profile start gitgutter.log
profile! file */vim-gitgutter/*Now launch Vim and do whatever makes it slow. When you quit Vim it will write the log file in the current directory.
Please post the log file in a gist and send me a link.