Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to profile? Slow to startup pylsp with ruff (3 seconds) and pylint (3 seconds). #550

Open
kaddkaka opened this issue Apr 9, 2024 · 0 comments

Comments

@kaddkaka
Copy link

kaddkaka commented Apr 9, 2024

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
@kaddkaka kaddkaka changed the title Slow to startup pylsp with ruff (3 seconds) and pylint (3 seconds) How to profile? Slow to startup pylsp with ruff (3 seconds) and pylint (3 seconds). Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant