Closed petRUShka closed 5 years ago
Is vim-speeddating required to trigger it?
It would be better to have profiling output (see :h :profile
), which would then show more information about where the time is spent.
vim-orgmode is written in python. Until proven otherwise, this is almost certainly a duplicate of #1898 / #7063.
see also
You are right. It should be python.
Quotation from profile log:
FUNCTION provider#python3#Call()
Defined: /usr/share/nvim/runtime/autoload/provider/python3.vim line 26
Called 10007 times
Total time: 14.891349
Self time: 14.840843
Note that vim-orgmode could probably fix this by simply getting buffer contents in a batch, doing its work, then sending the updates in a batch. Instead of going back-and-forth from Vim to Python.
vim-orgmode plugin works on Neovim 6x times slower than on Vim with exactly same config. Benchmarking via
--startuptime
option.So bare nvim/vim sharing the config with each other consisting of only one plugin (and one dependency plugin). Opening with them same huge file (10000 lines) very different process in sense of speed.
nvim --version
:vim -u DEFAULTS
(version: ) behaves differently? Yes. It's 6x times faster.$TERM
: xterm-256colorSteps to reproduce using
nvim -u vimrc_minimal
vimrc_minimal:
File to open:
test.org
So it is basically 10000 times repeated line
** TODO My task number 1
Actual behaviour
nvim -u vimrc_minimal test.org --startuptime nvim.log
nvim.log: http://dpaste.com/11M4AHPQuotation from nvim.log:
Expected behaviour
vim -u vimrc_minimal test.org --startuptime vim.log
vim.log: http://dpaste.com/2MKVM5P