Created How to profile vim-gitgutter (markdown)

Andy Stewart
2014-06-26 02:21:12 -07:00
commit ba9f9a3964

@@ -0,0 +1,12 @@
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.)
```viml
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.