-
I am working on speeding up my startup, and have cut it down a lot. Currently DAP is the slowest part, and specifically dap.ext.vscode is the slow part. dap.ext.vscode takes between 40 and 50ms to execute, is it possible to speed this up, and if so, how? What influences the time dap.ext.vscode takes to execute? output from
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Not sure why That said, you could probably defer all the imports - maybe with the exception of Calling |
Beta Was this translation helpful? Give feedback.
-
So, changing from |
Beta Was this translation helpful? Give feedback.
dap.ext.vscode
seems to have something to do with mason-nvim-dap.nvim. When I remove mason-nvim-dapdap.ext.vscode
is not even present in the startuptime output.Since I only used mason-nvim-dap for automatically installing DAPs, I instead just wrote a custom function for doing that and removed mason-nvim-dap.
I am still interested if I could Lazy load the entirety of nvim-dap, and if so, what event to use, but this function will suffice for now.