How to profile? Slow to startup pylsp with ruff (3 seconds) and pylint (3 seconds).
kaddkaka opened this issue · 0 comments
kaddkaka commented
Hi, when I open Neovim from commandline I notice that the first diagnostics take a long time to show. Sometimes I have seen delays of 10 seconds, rarely less than 2 seconds.
If I disable pylint I seem to gain around 3 seconds in startup time, if I disable ruff I also seem to gain 3 seconds.
Is there any way to measure what is actually taking time?
Environment:
- python 3.10.5
- pylsp: v1.10.1
- Neovim: 0.9.4
- pylint 3.0.4
- ruff 0.2.1