vscode-cpp-helper icon indicating copy to clipboard operation
vscode-cpp-helper copied to clipboard

Extension causes high cpu load

Open Andrysky opened this issue 3 years ago • 3 comments

  • Issue Type: Performance
  • Extension Name: cpp-helper
  • Extension Version: 0.3.0
  • OS Version: Windows_NT x64 10.0.19042
  • VS Code version: 1.61.0

amiralizadeh9480.cpp-helper-unresponsive.cpuprofile.txt

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

Andrysky avatar Oct 08 '21 07:10 Andrysky

This issue is occurring for me too. The extension starts to consume 100% CPU after using the "Copy Implementation" feature. I am on version 0.3.0 of the extension.

I got this warning in the developer console: WARN UNRESPONSIVE extension host, 'amiralizadeh9480.cpp-helper' took 100% of 5504.082ms.

Here is my CPU profile log: exthost-7dfcf5.cpuprofile.txt

I will need to disable the extension until it is fixed, as it slows down my VS Code.

VS Code Information

  • Version: 1.62.3 (user setup)
  • Commit: ccbaa2d27e38e5afa3e5c21c1c7bef4657064247
  • Date: 2021-11-17T08:11:14.551Z
  • Electron: 13.5.2
  • Chrome: 91.0.4472.164
  • Node.js: 14.16.0
  • V8: 9.1.269.39-electron.0
  • OS: Windows_NT x64 10.0.19043

J0shhT avatar Dec 08 '21 20:12 J0shhT