vscode-ruff
vscode-ruff copied to clipboard
Extension causes high cpu load
- Issue Type:
Performance - Extension Name:
ruff - Extension Version:
2025.22.0 - OS Version:
Linux x64 6.11.0-21-generic - VS Code version:
1.99.0
:warning: Make sure to attach this file from your home-directory:
:warning:file:///tmp/charliermarsh.ruff-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
Thanks for reporting this.
I loaded the profile but the first 358ms are empty. The last 2ms show some activity but nothing that looks concerning. I wonder if that is because we use an LSP?
We also bundle our extension, and the profile doesn't look like the Code Loading graph
Can you tell me more about what operation you were performing when vs code asked you to report the high cpu load?