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.

"Extension causes high cpu load" warnings from VS Code due to slow module loading

See original GitHub issue
  • Issue Type: Performance
  • Extension Name: dart-code
  • Extension Version: 2.25.1
  • OS Version: Darwin x64 18.5.0
  • VSCode version: 1.33.1

⚠️ Make sure to attach this file from your home-directory: ⚠️/Users/ken/Dart-Code.dart-code-unresponsive.cpuprofile.txt

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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
DanTupcommented, Apr 18, 2019

I’m not even sure what I need to attach to

@TUKenStone sorry, what I mean was there is a file at /Users/ken/Dart-Code.dart-code-unresponsive.cpuprofile.txt that VS Code created when it gave you this warning, and you are supposed to attach it to this GitHub issue. It’s a CPU profile of the extension code, which will show what code was running when this happened.

Unfortunately I can’t reproduce this issue (though my machine is very fast). I’ve had a few people raise it in the past, but none have ever attached the CPU profile, so I’ve never been able to investigate where the time is going.

If you can attach that file (which I believe VS Code has sanitized to ensure there is no personally identifiable info, pathnames, etc.) I can investigate. If you’d rather share it privately, you can email it to logs@dartcode.org.

Thanks!

0reactions
DanTupcommented, Jun 6, 2019

Fixed by #1741.

Read more comments on GitHub >

github_iconTop Results From Across the Web

VS Code Performance – How to Optimize Visual Studio Code ...
Extensions are loaded and unloaded under different conditions. The author of the extension decides this. This is specified through Activation ...
Read more >
Remote Development Tips and Tricks - Visual Studio Code
Remote Development Tips and Tricks. This article covers troubleshooting tips and tricks for each of the Visual Studio Code Remote Development extensions.
Read more >
Measure CPU usage in your apps - Visual Studio (Windows)
Analyze CPU performance issues in your application using the debugger-integrated diagnostics tools.
Read more >
Build Performance - webpack
This guide contains some useful tips for improving build/compilation performance. General. The following best practices should help, whether you're running ...
Read more >
Guide to w3wp.exe High CPU Usage for IIS Worker Processes
To measure if garbage collection could be causing problems for your application, check this Windows Performance Counter: .NET CLR Memory -> % ...
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