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

Ongoing High CPU Usage (380%) is due to TS/JS Language Features #73916

Closed
ghost opened this issue May 17, 2019 · 1 comment
Closed

Ongoing High CPU Usage (380%) is due to TS/JS Language Features #73916

ghost opened this issue May 17, 2019 · 1 comment
Assignees
Labels
typescript Typescript support issues

Comments

@ghost
Copy link

ghost commented May 17, 2019

Using VSCode 1.34.0, my Mac continues to have very high CPU usage (380% in a scale of 400%, which is 100% per core) as long as I have VSCode open. This causes egg-cooking temperatures.

I am aware of #71751 and the MS Typescript issue microsoft/TypeScript#30663.

The following efforts have somewhat reduced the frequency of occurrence, but have not at all resolved the issue for me.

  • remove all my add-on extensions
  • upgrade to VSCode 1.34.0
  • downgrade to VSCode Nov 2018 release
  • delete the ts cache folders at ~/Library/Caches/typescript/
  • ensure I am not using problematic versions of styled-components types.
  • downgrade typescript
  • remove typescript (as I just use JS)
  • add "exclude": ["node_modules", "dist"] to my jsconfig.json file

What finally did resolve the issue was to disable the built-in TS / JS Language Features extension. I accessed this under extensions and filtering by '@Builtin'.

So I lose the TS / JS Language Features but gain back a great editor.

Thanks.

@vscodebot vscodebot bot added the typescript Typescript support issues label May 17, 2019
@ghost
Copy link
Author

ghost commented May 17, 2019

Closing as this was just to capture my pathway.

@ghost ghost closed this as completed May 17, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 1, 2019
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
typescript Typescript support issues
Projects
None yet
Development

No branches or pull requests

1 participant