-
Notifications
You must be signed in to change notification settings - Fork 26
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
autocompletion for python is very slow #54
Comments
Reported here palantir/python-language-server#397 in the case of being in a virtualenv. I have this problem while not in a virtualenv though. |
In general the slowness comes from the language server if you are using async completion. It's hard to tell if it's the case without knowing your python code base. On the emacs side, the value of You may also try setting |
It looks like that is the case. I watched htop while typing, a Interesting, not all modules responded the same. Tensorflow worst offender so far; os, sys, matplotlib, didn't take as much time. So far I'll open issue at python-language-server |
The autocompletes uses Jedi and he has fixed the issue with large libraries such as tensorflow davidhalter/jedi#1116 in releases 13.0 and 13.1 Other relevant lsp packages have been updated as well. Appears problem is solved. Thank you. |
profiler (excerpt) below:
The text was updated successfully, but these errors were encountered: