High CPU usage from Vetur extension
See original GitHub issueInfo
- Platform: macOS
- Vetur version: 0.12.1
- VS Code version: 1.23.1
Problem
CPU usage is excessively high from the “Code Helper” process. Grabbing the pid from running top
and using ps aux | grep 1234
, I can see the process is pointing to vetur extension.
I see someone else has reported something similar here: https://github.com/Microsoft/vscode/issues/49883
Issue Analytics
- State:
- Created 5 years ago
- Reactions:53
- Comments:80 (19 by maintainers)
Top Results From Across the Web
High CPU Usage · Issue #1051 · vuejs/vetur - GitHub
Disabling all extensions except Vetur and restarting VS Code did not fix the problem. The CPU usage is still high. Now I'll try...
Read more >Developers - high CPU usage when enable vetur extension -
Code Version: 1.12.2. You see, I have disabled all my extensions. when I enable vetur, the CPU usage is 100%+, when I disabled...
Read more >Random High CPU Usage - visual studio code - Stack Overflow
I have noticed that Visual Studio Code randomly has a really high CPU usage. Generally, this seems to be related to the window...
Read more >Running Save Participants #1746 - Issuehunt
It's just showing that Vetur is taking a long time to do it's post-save work. I've been having really high CPU usage and...
Read more >Analyze CPU usage in the Performance Profiler - Visual ...
The CPU Usage performance tool shows the CPU time and percentage spent executing code in C++, C#/Visual Basic. The CPU Usage tool can...
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 FreeTop 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
Top GitHub Comments
Didn’t handle chokidar correctly in 0.12.2. 0.12.3 completely removes chokidar so the problem should be gone. If not, then that’s not the file watcher causing the problem.
Would appreciate it if you can confirm 0.12.3 is working for you.
@squalsoft @prine I used this tutorial to build the link for the previous vetur extension builds.
For example, the link to v0.11.7 is this: https://octref.gallery.vsassets.io/_apis/public/gallery/publisher/octref/extension/vetur/0.11.7/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage
Save it with .vsix extension and install as explained in the tutorial (I just installed it over the current 0.12.1 version).