Skip to content

tsc --watch --incremental recompiles are too slow for use with VS Code source  #33329

Closed

Description

From microsoft/vscode#80074

TypeScript Version: 3.6.2

Search Terms:

  • tsc
  • build
  • watch
  • incremental

Repo
Clone and start building VS Code with --incremental --watch

git clone https://github.com/microsoft/vscode.git
cd vscode
yarn
node --max-old-space-size=4096 ./node_modules/.bin/tsc --incremental -w -p src/tsconfig.json
  1. Let first full build complete
  2. Open src/vs/base/common/linkedList.ts
  3. Rename the public method unshift to deshift and save

Expected behavior:
Recompile is fairly quick. Our custom gulp-tsb builder takes a second or two for this case

Actual behavior:
Rebuild with tsc takes considerable time. This blocks VS Code from migrating to use standard tsc --watch instead of gulp-tsb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Domain: PerformanceReports of unusually slow behaviorFix AvailableA PR has been opened for this issueNeeds InvestigationThis issue needs a team member to investigate its status.VS Code PriorityCritical issues that VS Code needs fixed in the current TypeScript milestone

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions