-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Extension causes high cpu load when using poetry-version-plugin
#18459
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
Comments
Hi @j0k2r , the CPU profile you provided does not seem to be related to the Python extension. If you still face this issue, please upload the CPU profile again which will help us track down the issue. Follow the steps here: |
@karrtikr thanks for the reply. Here is the new CPU profile: |
Thanks for the upload, unfortunately I still don't see any Python related stuff in the CPU profile. Did you activate the Python extension by opening a python file while the CPU profile was being captured? |
Hi @karrtikr, After lot of tests, it seems that the CPU load is caused by the poetry-version-plugin plugin. You can find a code example in https://github.com/j0k2r/vscode-cpu-load. The CPU load is caused by the lines in the Poetry configuration file. After deleting them vscode works normally. |
Oh interesting, can you provide the logs as mentioned in the issue template? We run some poetry related commands for discovery which maybe using this configuration file. Thanks for diagnosing it. LogsOutput for
|
|
Can you please run |
Python output:
poetry env list --full-path:
|
Can you try the following VSIX https://github.com/microsoft/vscode-python/suites/5237804905/artifacts/161021046 and see if it helps? (Use |
Hi @karrtikr, the new extension solves the problem, thanks for your help. |
poetry-version-plugin
Performance
python
v2022.0.1786462952
Linux 5.13.0-28-generic
1.64
CPU profile file: CPU-20220207T092415.cpuprofile.txt
The text was updated successfully, but these errors were encountered: