You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NVIM v0.10.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Run "nvim -V1 -v" for more info
Describe the bug nvim takes a long time to start. Instead of the usual barely noticeable <200msec delay, it takes around 3 seconds on one of the machine I use for development. Further investigation reveals essentially all of this time to be spent inside of the neotest initialization. The issue is platform-specific and happens on an idle Linux server (AMD Threadripper 3990X running Ubuntu 20.04.6 LTS) but not on my main development machine (Apple M1 laptop). I am wondering if it could be some parallelization step having difficulty with the large number of virtualized cores on this machine (128 with hyper-threading enabled). Though it is unclear in that case why parallelization would be needed just to start the plugin.
To Reproduce
Steps to reproduce the behavior:
Simply start VIM using nvim --clean -u minimal.lua (see below).
Experience the lag
:Lazy can be used to quantify the delay. See the screenshot below
(Edit: the screenshot also shows nvim-treesitter, FixCursorHold and neotest-python which I removed from the minimal reproducer since they weren't actually needed to reproduce the issue.)
Logs
Wipe the neotest.log file in stdpath("log") or stdpath("data").
Set log_level = vim.log.levels.DEBUG in your neotest setup config.
Additional context
It is completely unclear to me what it is doing during all of this time. I am not actually using neotest (yet), it is just the module initialization that is being slow.
The text was updated successfully, but these errors were encountered:
NeoVim Version
Describe the bug
nvim
takes a long time to start. Instead of the usual barely noticeable <200msec delay, it takes around 3 seconds on one of the machine I use for development. Further investigation reveals essentially all of this time to be spent inside of the neotest initialization. The issue is platform-specific and happens on an idle Linux server (AMD Threadripper 3990X running Ubuntu 20.04.6 LTS) but not on my main development machine (Apple M1 laptop). I am wondering if it could be some parallelization step having difficulty with the large number of virtualized cores on this machine (128 with hyper-threading enabled). Though it is unclear in that case why parallelization would be needed just to start the plugin.To Reproduce
Steps to reproduce the behavior:
nvim --clean -u minimal.lua
(see below).:Lazy
can be used to quantify the delay. See the screenshot belowHere is a minimal
init.lua
(Edit: the screenshot also shows
nvim-treesitter
,FixCursorHold
andneotest-python
which I removed from the minimal reproducer since they weren't actually needed to reproduce the issue.)Logs
neotest.log
file instdpath("log")
orstdpath("data")
.log_level = vim.log.levels.DEBUG
in your neotest setup config.Done, the logfile is here: neotest.log
Additional context
It is completely unclear to me what it is doing during all of this time. I am not actually using neotest (yet), it is just the module initialization that is being slow.
The text was updated successfully, but these errors were encountered: