equalsraf / neovim-qt

Neovim client library and GUI, in Qt5.
https://github.com/equalsraf/neovim-qt/wiki
ISC License
1.85k stars 171 forks source link

Extremely long startuptime after reboot if install path has spaces #250

Open xelra opened 7 years ago

xelra commented 7 years ago

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.

justinmk commented 7 years ago

Do you have a network drive in $PATH?

xelra commented 7 years ago

No, no network drive in %PATH%.

justinmk commented 7 years ago

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)

xelra commented 7 years ago

I do not have a single network drive mapped.

justinmk commented 7 years ago

@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
xelra commented 7 years ago

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.

justinmk commented 7 years ago

Thanks. Could you update the issue title?