juneedahamed / vc.vim

Support for SVN, Git, HG and BZR
47 stars 9 forks source link

Very Slow on Vim 8.0 under Cygwin #7

Open kashperanto opened 7 years ago

kashperanto commented 7 years ago

I am having some serious speed problems with this plugin on Vim 8.0 under cygwin (under tmux if that makes any difference). I've tried unloading other plugins, tried your previous svnj plugin, and even started from a clean slate with Vundle (I managed them myself before). No matter what I do nearly every action performed by this plugin takes forever (8+ seconds) to load.

I highly doubt there is something actually wrong with your plugin, but this is likely an issue caused by slow process creation in cygwin. I have the same problem when starting up a new bash instance in tmux (and the delay is about the same, thus my suspicion). Windows doesn't have a true fork(), and most security scanning software seems to further slow down the creation of a new process. Once I have a process going everything runs just fine, but that start-up time kills me when people make heavy use of subshells/etc. in scripts.

Is there any way to have this plugin load a new process only one time at startup?