Skip to content

High CPU usage and poor performance using the integrated terminal on Windows #10328

@seraku24

Description

@seraku24
  • VSCode Version: 1.4.0
  • OS Version: Windows 10 - Version 1511 (OS Build 10586.494)
  • Installed Extensions: csharp (1.3.0)

Steps to Reproduce:

  1. Launch VS Code.
  2. Open the integrated terminal (CTRL+~).
  3. Type some text into the terminal.

Expected:

The text appears promptly upon entering, and CPU usage shows no spikes.

Actual:

The text does not appear immediately. Task Manager shows one of the VSCode processes is using nearly 100% of a CPU core for around 1-2 seconds. Afterwards, the input text appears in the terminal, and CPU usage drops to minimal values.

Notes:

After rebooting my machine, VSCode initially performs as expected. However, performance will eventually drop considerably and stay consistently poor even after relaunching VSCode. Only a full reboot seems to temporarily address the issue.

While I do not have full Visual Studio or the performance toolkit on this machine to be able to capture more detailed profiling data, I was able to use Task Manager to capture a minidump of the process during the high CPU usage. As the resulting file is about 350MB, I will defer uploading until someone requests it.

DxDiag.txt

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)terminalGeneral terminal issues that don't fall under another labelupstreamIssue identified as 'upstream' component related (exists outside of VS Code)windowsVS Code on Windows issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions