Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension causes high cpu load #620

Closed
ferisjuan opened this issue Feb 10, 2019 · 3 comments
Closed

Extension causes high cpu load #620

ferisjuan opened this issue Feb 10, 2019 · 3 comments

Comments

@ferisjuan
Copy link

  • Issue Type: Performance
  • Extension Name: vscode-eslint
  • Extension Version: 1.8.0
  • OS Version: Linux x64 4.19.16-1-MANJARO
  • VSCode version: 1.31.0

⚠️ Make sure to attach this file from your home-directory: /home/xxx/dbaeumer.vscode-eslint-unresponsive.cpuprofile.txt ⚠️
dbaeumer.vscode-eslint-unresponsive.cpuprofile.txt

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

@dbaeumer
Copy link
Member

@jrieken I looked at the CPU profile and there is nothing specific from the ESLint extension in the profile. Any hint for what to look at? What might be special with ESLint is that it is activated eagerly since it depends on user configuration which file types it lints. I manually profiled the activate method and there is nothing special with it.

@jrieken
Copy link
Member

jrieken commented Feb 25, 2019

Does it look like that: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load#code-loading? Iff so then it's code loading.

@dbaeumer
Copy link
Member

dbaeumer commented Mar 6, 2019

Closing. Version 1.8.1 ships web packed.

@dbaeumer dbaeumer closed this as completed Mar 6, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants