TypeScript 7 cover: 6.5× faster typecheck

TypeScript 7 is fast

2 min read
typescript performance

I upgraded the RoleReady monorepo from TypeScript 6.0.2 to 7.0.2. App typecheck (tsc --noEmit):

Buildtsc --noEmit
TypeScript 6.0.227.4s
TypeScript 7.0.24.2s

Same machine, same codebase. About 6.5x faster. Diagnostics were identical.

How I measured

Apple M1 Max, cold runs. Deleted .tsbuildinfo between each pass.

Three runs of each:

  • TS 6.0.2: 27.43s, 27.19s, 27.51s
  • TS 7.0.2: 4.14s, 4.18s, 4.23s

I also ran tsgo Native Go-based TypeScript preview that shipped before stable 7. 7.0-dev. Median was 4.3s. Stable 7.0.2 matches the preview.

App build + tests

BuildWall clock
TS 6.0.257.5s
TypeScript 7.0.29.0s

Upgrade

Bumped the package, reinstalled, re-ran the typecheck. No config changes, no new errors, no code fixes.