Extension causes high cpu load
- Issue Type:
Performance - Extension Name:
vscode-pylance - Extension Version:
2024.9.2 - OS Version:
Windows_NT x64 10.0.22631 - VS Code version:
1.94.0
:warning: Make sure to attach this file from your home-directory:
:warning:file:///c%3A/Users/au1bhi/AppData/Local/Temp/ms-python.vscode-pylance-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
@au1bhi, can you provide more details? Does this only occur with certain projects? When using certain packages? Can you provide access to a project that reproduces this behavior?
I had a similar issue having opened a large (5MB csv) file next to some .py file. Closing it lead to Pylance being more CPU-friendly.
@blacelle, please file a separate issue. There are many things that could cause the symptom of high CPU usage. We can resolve the two issues as dupes if we find they have the same underlying cause, but at the moment we have no reason to believe that your issue and the OP's issue are the same.
I open https://github.com/microsoft/vscode/issues/232514
Hey @debonte, this issue might need further attention.
@au1bhi, you can help us out by closing this issue if the problem no longer exists, or adding more information.
This issue has been closed automatically because it needs more information and has not had recent activity. If the issue still persists, please reopen with the information requested. Thanks.