Open xelra opened 7 years ago
Do you have a network drive in $PATH?
No, no network drive in %PATH%
.
Any slow drives at all? If you disconnect them, does the problem persist? (Reboot, disconnect all slow drives in Explorer, then cold-start neovim-qt)
I do not have a single network drive mapped.
@xelra Does nvim or nvim-qt live in a path that contains spaces? Does the problem occur if you put it somewhere without spaces? E.g. C:/Users/foo/nvim
.
I noticed some slowness when the path contained spaces. No idea why.
Are there any clues in the --startuptime
report?
nvim-qt -- --startuptime foo.log
Yes, it's connected to being installed to a path with spaces. I moved the whole Neovim-Qt folder from C:\Program Files (x86)\Neovim-Qt
to C:\Users\xelra\Desktop\Neovim-Qt
and then it starts up way faster.
So after a reboot and/or after waiting some time (I couldn't determine how much time yet; maybe 30 minutes or one hour) it has extremely slow startup time, when executed from a path with spaces.
Thanks. Could you update the issue title?
This might be specific to Windows.
After rebooting, the first startup of Neovim-Qt takes an extremely long time. I've measure it to be 11 seconds on my system.
Startups after that take less than a second.