How to profile VIM?
Table of Contents
Introduction
Here is how we can profile our VIM to find where it’s spending most of it’s time during during function calls. This happpens when we have tons of plugins and our linting, file editing becomes slow.
:profile start vim-markdown.log
:profile file *
:profile func *
" Do whatever makes VIM slow
:profile pause
" To continue profile use
" :profile continue
:noautocmd qall!