Closed smblee closed 2 years ago
Hello @smblee, thanks for the report. In all my environments, my vim startup times is around ~0.2 sec (I also use M1 and M1 pro mac). The profiling output looks very strange.
Can you try the following to see line-by-line profiling of vim script files?
:profile start /tmp/nvim-profile.log | profile func * | profile file *
source ~/.config/nvim/init.vim " Do some slow actions
:profile pause
:noautocmd qall!
It looks like some startup calls during init.vim
are causing a slowdown. Like python3 -c "import pynvim"
. This is probably because of part of your system setup, and I've never experienced such slow startup times.
I will close this for now, but please feel free to re-open or provide any additional information if you need any help. Thanks.
I am using a non-modified version of your dotfiles on my M1 macbook pro and noticed a slow-ish startup time every time i open vim. Is this to be expected?
output of
vim --startuptime timeCost.txt timeCost.txt
output of
:CheckHealth