microsoft / microsoft/vscode-cpptools

Very slow performance when using Remote - WSL

Open
#5,558 46 comments 79 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Language Service performance remote
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

Type: LanguageService

Describe the bug

  • OS and Version: Windows_NT 10.0.18363
  • VS Code Version: 1.45.1
  • C/C++ Extension Version: 0.28.1
    I tried downgrading to previous versions but the issue still persists.
  • Does this issue involve using SSH remote to run the extension on a remote machine?: Yes

Description:
Code intellisense as well as auto formatting are very slow for very simple C++ files when using the Remote - WSL extension for C++ development on WSL.

Screenshot (206)

uname -r output:
4.4.0-18362-Microsoft

This issue isn't there when developing on Windows.

Steps to reproduce

Create a hello world C++ file and allow formatting on save from VScode.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing the issue with a hello-world C++ file, format-on-save, and the Remote-WSL setup described in the report, then compare IntelliSense and auto-formatting with Windows. Done means the simple file no longer shows the reported slowness in Remote-WSL.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, vscode
Domain
performance, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.