Last active
August 17, 2017 11:43
-
-
Save pmalek/679dcfbaa0c9137a495fce47feab9410 to your computer and use it in GitHub Desktop.
vim profiling (e.g. for finding slow plugins)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://stackoverflow.com/a/12216578/675100 | |
:profile start profile.log | |
:profile func * | |
:profile file * | |
" At this point do slow actions | |
:profile pause | |
:noautocmd qall! | |
// -------------------- | |
http://stackoverflow.com/a/20519492/675100 | |
:syntime on | |
move around in your ruby file and then | |
:syntime report |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment