Open dpelle opened 3 years ago
Hi. Just some info I see: If I comment out the: call rtags#InitPython() my startup time goes down to about 40 ms. This line is required, but I was just looking for where some time is spent. And if I comment out the rdm daemon check/start: let g:rtagsAutoLaunchRdm = 0 my startup time goes down to about 1 ms. I've been trying to maintain a version of vim-rtags if its any help.
Using
vim --startup startup.log
, I see that the plugin vim-rtags takes quite some time at startup. I have several plugins installed and vim-rtags is the slowest.Is there a reason for not moving functions from
plugin/rtags.vim
intoautoload/…
in order to speedup startup?Below is my startup log, showing that vim-rtags takes much more time than other plugins at startup. For example, YouCompleteMe plugin only takes 0.418ms whereas vim-rtags takes 41.541ms (so 100 times slower):
I'm using the latest version of the plugin i.e.:
with vim-8.2.2311 (huge) on Linux x86_64: