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 #393

Closed
anxorl opened this issue Feb 21, 2019 · 3 comments
Closed

Extension causes high cpu load #393

anxorl opened this issue Feb 21, 2019 · 3 comments

Comments

@anxorl
Copy link

anxorl commented Feb 21, 2019

PKief.material-icon-theme-unresponsive.cpuprofile.txt

  • Issue Type: Performance
  • Extension Name: material-icon-theme
  • Extension Version: 3.6.3
  • OS Version: Linux x64 4.19.0-2-amd64
  • VSCode version: 1.31.1

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

@PKief
Copy link
Member

PKief commented Mar 7, 2019

I was wondering when the high CPU load begins. Is is when you trigger a specific command of my extension or is it all the time?

@PKief
Copy link
Member

PKief commented Mar 24, 2019

Information regarding the extension performance:
With the latest update the activation time of the extension could be drastically reduced. I just tested the performance on my machine and can provide you the following comparison:

Extension activation time:

v3.6.3 v3.7.0
144ms5ms
74ms8ms
57ms9ms
54ms4ms
53ms5ms
56ms4ms

This could be achieved by bundling all JavaScript files of the extension with webpack so that VS Code only has to load a single JavaScript file. (see PR #413).

@PKief
Copy link
Member

PKief commented Jun 22, 2019

This issue will be closed because the performance was improved with the last updates and there were no further reports about performance issues with this extension.

@PKief PKief closed this as completed Jun 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants