← All benchmarksTypeScript

TypeScript 7 vs 5.9 type-check time: 1.9 s vs 18.8 s

How much faster is TypeScript 7 than TypeScript 5.9?

On a generated project of 400 files (36k lines) in strict mode with noEmit, tsc 5.9.3 took 15.3, 18.8 and 20.8 s across three runs, and tsc 7.0.2 took 1.7, 1.9 and 2.0 s, about 10x faster.

Results

TypeScript 5.9.315.3 / 18.8 / 20.8 s
TypeScript 7.0.21.7 / 1.9 / 2.0 s

How it was measured

400 generated files, strict, noEmit, 3 runs each.

npx tsc -p . --noEmit

Why

TypeScript 7 is a native implementation with parallelism.

When this does not apply

Generated code is not your code; test on your repo.

Environment

MacBook Air (Apple silicon, 8 cores), macOS. Measured 2026-10-12.

Source: shorts/demo-ticket/ts/big in my content-engine repository. Treat any single run as a direction; re-run it on your hardware.

By Josué Barros, senior software engineer (full-stack, data and AI).