-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow down startup greatly #84
Comments
Here is my profiling:
Not sure if I know how to read this properly, but Most of my plugins takes |
Agreed. No idea why this is but vim-one is taking forever to load. These are my top 3 load times:
It's just ridiculous. I use a couple dozen plugins and not one of them comes close. |
Same for me
|
Think I've got a fix. Will push a PR later. |
Also see #74 |
Made a fork to improve the startup time. # the original one
❯ vim-profiler.py -r 10 nvim
=====================================
Top 10 plugins slowing nvim's startup
=====================================
1 170.621 vim-one
2 6.274 vim-airline
3 4.038 vim-polyglot
4 3.496 coc.nvim
5 2.645 colorizer
6 2.413 vim-textobj-xmlattr
7 2.313 vim-textobj-comment
8 1.795 vim-sensible
9 1.664 vim-textobj-line
10 1.341 ctrlp.vim
=====================================
# the hard-coded
❯ vim-profiler.py -r 10 nvim
=====================================
Top 10 plugins slowing nvim's startup
=====================================
1 11.172 vim-one
2 6.650 vim-airline
3 3.960 vim-polyglot
4 3.579 coc.nvim
5 2.830 colorizer
6 2.405 vim-textobj-comment
7 2.372 vim-textobj-xmlattr
8 1.732 vim-sensible
9 1.724 vim-textobj-line
10 1.430 ctrlp.vim
===================================== |
Hello there,I really like this colorscheme,but it's too slow to startup with this plugin enabled,even if not set to one-dark colorscheme
a startuptime log shows how greatly it affects this:
I disabled the plugin and start again,this time only 300ms used. It seems not only colorscheme itself but the airline-plugin also takes too much time to load.
and here is my vim version:
The text was updated successfully, but these errors were encountered: