question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

High CPU usage from Vetur extension

See original GitHub issue
  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • 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.

image

image

I see someone else has reported something similar here: https://github.com/Microsoft/vscode/issues/49883

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:53
  • Comments:80 (19 by maintainers)

github_iconTop GitHub Comments

21reactions
octrefcommented, May 17, 2018

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.

17reactions
erodricommented, May 15, 2018

@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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found