2

I have been learning python using VScode. I've noticed recently that as soon as I start VScode my CPUs get maxed out and my whole computer is sluggish. When I run the activity monitor I see as many as 5 rg processes running and up to 4 'Code Helper' processes. These processes use up to 125% of CPUs. When I quit VScode, the Activity Monitor still reports a lot of cpu percentage for 'Code Helper', and continues reporting that for over 20 minutes after I quit VScode. Does anyone have any idea why VScode is using so much cpu time? I'm using the latest VScode on my iMac running High Sierra 10.13.5 and VScode version 1.24.1

3

High CPU is caused most probably by some VS Code extensions. Try running VS Code with all extensions disabled and check if You still experience such CPU. From my experience the Import Cost extension can cause quite high CPU load..

If the CPU is allright with extensions disabled try enabling it one-by-one (work a little bit between enabling every next one) and try to locate which extension is a real CPU eater.

Here is a very good article about troubleshooting performance issues with VS Code: https://github.com/Microsoft/vscode/wiki/Performance-Issues

Good luck!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .