Extension causes high cpu load
See original GitHub issue- Issue Type:
Performance - Extension Name:
aws-toolkit-vscode - Extension Version:
1.39.0 - OS Version:
Windows_NT x64 10.0.19043 - VS Code version:
1.68.1
⚠️ Make sure to attach this file from your home-directory:
⚠️file:///c%3A/Users/super/AppData/Local/Temp/amazonwebservices.aws-toolkit-vscode-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Extension causes high cpu load · Issue #1033 - GitHub
Recently I upgraded my global eslint to v7, if that's important, but I believe the high CPU usage goes back a long way....
Read more >[SOLVED] Chrome High CPU Usage - Driver Easy
Chrome extensions are also known to cause Chrome high system resources usage, such as 100% CPU, memory or disk usage.
Read more >VS Code using all of the CPUs and how to fix it - Remy Sharp
TL;DR: (yes, I ramble): use "Start extension bisect" in VS Code, it'll take less than 5 minutes. This is what I'm talking about....
Read more >High CPU usage: What are the potential causes? - IONOS
Causes of high processor usage · Programs with higher CPU requirements: · Autostart programs: · Viruses · Browser: ...
Read more >High CPU usage due to CEPHtmlEngine - Adobe Support
Solution 1: Delete the plug-in extension folder causing high CPU usage · Solution 2: Check the log files folder · macOS · Windows...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I tried this, and I also isolated the extension via
extensions.experimental.affinity. I got a really good result:Reverting all other extensions quickly got me back to the same usage patterns, after which I decided to open the
Running Extensionswindow and Profile all of them while debugging my Lambda. This led me to a conclusion thatwix.vscode-import-costis the culprit, using over 99% of all resources to investigate a bundled JS file I use for debugging, and after disabling only that extension, my CPU is behaving normally. @justinmk3 thank you for suggesting where to look and your support!possibly related to file watchers,
potentially useful: vscode now has
extensions.experimental.affinitywhich can isolate extensions to their own process.