mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 03:23:47 -05:00
1
How to profile vim gitgutter
Andy Stewart edited this page 2014-06-26 02:21:12 -07:00
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.