Skip to content

Opening/editing project file causes 100% CPU usage by tsserver #29834

@pqvst

Description

@pqvst
  • VSCode Version: 1.31.0-insider (1.31.0-insider) (also tested in latest non-insider release)
  • OS Version: macOS 10.14.2 (18C54)

Steps to Reproduce:

  1. Clone this repo: https://github.com/pqvst/vscode-cpu-issue-test
  2. Open the folder in VSCode
  3. Open browse.js
  4. tsserver CPU usage goes to 100% for a while
  5. Reopening the file or making any edit will again trigger high CPU usage

Expected results:
I expect to be able to work in my code base without having my fans go crazy.

Actual results:
Working in my code base causes my fans to go crazy.

Does this issue occur when all extensions are disabled?:
Yes

screenshot 2019-02-06 13 16 18

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScript

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions