NTBBloodbath / cheovim

Neovim configuration switcher written in Lua. Inspired by chemacs.
GNU General Public License v2.0
332 stars 14 forks source link

performance of plugin #4

Closed matu3ba closed 1 year ago

matu3ba commented 2 years ago

Would be nice to have some elaboration on how much startup-time overhead this plugin creates for having many plugins in multiple profiles to see how this plugin scales.

I guess the runtime overhead is negligible, but is there a strategy how to show this (ie with screencast videos)?

NTBBloodbath commented 2 years ago

Hey, I'm pretty sorry for the really late reply, haven't had too much time recently.

The startup time delay shouldn't be really noticeable because cheovim loads the configurations (aka profiles) like they were actual plugins and we try to use libuv whenever is possible to speed up things instead of using the slow Vimscript functions and we don't do any real hard task besides creating missing directories and downloading setups / plugins managers but the download process is actually inside Neovim so it shouldn't increase the startup time.

NTBBloodbath commented 1 year ago

This should be more noticeable now thanks to v0.3 release and latest Neovim nightly (0.8, going to be released soon iirc) including profiling for Lua require calls.