microsoft/vscode-eslint

Extension causes high cpu load

Closed this issue · 6 comments

  • Issue Type: Performance
  • Extension Name: vscode-eslint
  • Extension Version: 3.0.10
  • OS Version: Windows_NT x64 10.0.19045
  • VS Code version: 1.95.1

⚠️ Make sure to attach this file from your home-directory:
⚠️file:///c%3A/Users/duvut/AppData/Local/Temp/dbaeumer.vscode-eslint-unresponsive.cpuprofile.txt

Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

@cuongdvt can you please attach the mentioned CPU profile.

I'm also experiencing this (100% cpu usage) on Mac. I've had this problem for a couple of days now. I think some update broke it or something.
The only thing different from before that I can recall is that I've updated VSCode to the latest version. Also, I keep all my extensions up to date at all times. The only way to stop the process is to kill the VSCode process (right click on the VSCode icon and select "Quit".

The name of the process in Activity Monitor is called "Code Helper (Plugin)"

@spacecat Without a CPU profile or steps on how to reproduce this it is very hard to say what is going on.

I'm experiencing this problem since 2 weeks ago
Steps to reproduce:

  1. Open a typescript or javascript project
  2. Open another VS Code Window of different profile
  3. Wait for 30 seconds

The activity monitor will see a Code Helper (Plugin) with 99 or 100% usage. Even when the VS Code Window is closed, the high cpu usage persists.

Actually I'm not sure if the issue is caused by this extension.
Because when I disabled all the extensions except this one, the issue seems to be gone.

Image
May be related to this: microsoft/vscode#232699

I'm using the M1 MacBook Air. MacOS 15.1 VS Code Version: 1.95.2 (Universal)

I'm experiencing exactly the same problem on Linux. Running arch on an intel CPU (i7-1165G7). VS Code version 1.95.2

Reading through microsoft/vscode#232699 this definitely looks like a dup. I will close thios on in favor of microsoft/vscode#232699