Closed sid-kap closed 2 months ago
Does it happened every time or just first time? According your profiler report, the heavy part is initializing the local virtualenv and the anaconda-eldoc, loading the yasnippet. 223 18% + spacemacs//pyvenv-mode-set-local-virtualenv 156 13% + spacemacs/load-yasnippet 309 25% - spacemacs//python-setup-anaconda-eldoc
You can disable one of them to locate the most expensive one.
You could also switch to LSP and see if it improves your startup performance. I am working in python projects all the time and did never notice startup delays of more than 1 second which is acceptable for an IDE.
Setting python-auto-set-local-pyvenv-virtualenv nil
helped a lot, thanks @sunlin7!!
Good :clap:
Description :octocat:
Opening python in python-mode files is very slow
Reproduction guide :beetle:
Observed behaviour: :eyes: :broken_heart: It takes like 2-3 seconds for the file to open
Expected behaviour: :heart: :smile: It should open faster
System Info :computer:
Profiler report