Skip to content

Initializing JS/TS Features is extremely slow with WSL and node_modules #33335

Closed
@Vigasaurus

Description

@Vigasaurus

template info added by @mjbvz

TypeScript Version: 3.6.2

Search Terms

  • Wsl
  • updateOpen
  • perf

Original report below


From my testing - this issue seems to only be related to WSL (maybe 2.0) and node_modules together.

In Insiders v1.39.0 on a fresh install there were no issues on a specified project of mine (about 1GB, 60MB node_modules), as well as a smaller project (no node_modules, only about 15MB).
Once loaded into WSL with Remote WSL extension, a small project (no node_modules, only about 15MB) worked perfectly. The same first project (about 1GB, 60MB node_modules), didn't load (over 15 minutes).

EDIT: It ended up working after 29 minutes. I can maybe share the entire tsserver.log privately (once I scrub it) if needed.

Metadata

Metadata

Assignees

Labels

Domain: PerformanceReports of unusually slow behaviorFix AvailableA PR has been opened for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions