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

Closed
houssam-eldeen opened this issue Jun 30, 2021 · 6 comments · Fixed by #1131
Closed

Extension causes high cpu load #1104

houssam-eldeen opened this issue Jun 30, 2021 · 6 comments · Fixed by #1131

Comments

@houssam-eldeen
Copy link

  • Issue Type: Performance
  • Extension Name: angular-console
  • Extension Version: 17.6.0
  • OS Version: Windows_NT x64 10.0.19043
  • VS Code version: 1.57.1

⚠️ Make sure to attach this file from your home-directory:
⚠️c:\Users\hfadel\AppData\Local\Temp\nrwl.angular-console-unresponsive.cpuprofile.txt

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

@Cammisuli
Copy link
Member

Can you please attach the cpu profile?

@OysteinAmundsen
Copy link

Had the same problem. This is my cpu profile:

nrwl.angular-console-unresponsive.cpuprofile.txt

@Cammisuli
Copy link
Member

Thanks for your cpuprofile @OysteinAmundsen, but unfortunately I can't see anything related to Nx console in there. I did notice that your instance is loading things from the C:/ drive and the D:/ drive.

I still have to do a whole suite of performance fixes for Windows (I finally have a copy of Windows via parallels 😅 )

@jeroenvheel
Copy link

jeroenvheel commented Sep 1, 2021

Also got the same error in vscode this is my cpu profile.

Issue Type: Performance
Extension Name: nx-console
Extension Version: 17.9.0
OS Version: Windows_NT x64 10.0.19043
VS Code version: 1.59.1

nrwl.angular-console-unresponsive.cpuprofile.txt

@Cammisuli
Copy link
Member

Cammisuli commented Sep 3, 2021

sorry @jeroenvheel I can't seem to open that cpuprofile ☹️ vscode says it's a malformed json, and chrome reveals a blank panel.

nvm, apparently I didn't set the proper file default for this, and I can see the profile now :D

@Cammisuli
Copy link
Member

@jeroenvheel this looks like an issue with @nrwl/workspace/src/core/hasher/git-hasher.js. What version of nx are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants