Tutorial
TypeScript 7 Is \"10x Faster\". I Measured It on a Real Project
DEV · By Muiduzzaman Lipu ·
The Brief
- The author measured TypeScript 6 versus TypeScript 7 on the same real project on the same Mac.
- TypeScript 7 is a rewrite of the compiler in Go; Microsoft says it is about 10x faster.
- The article reports measured numbers, an upgrade procedure, and one breaking change.
Why it matters
Developers upgrading to TypeScript 7 can expect build speed changes, but the article reports one breaking issue that may affect existing projects.
Who’s affected
- TypeScript developers planning to upgrade to TypeScript 7
- TypeScript 6
- TypeScript 7
- #typescript
- #compiler
- #performance
- #benchmark
- #go
TypeScript 7 is the compiler rewritten in Go, and Microsoft says it's about 10× faster . So I tested it: the same real project on the same Mac, TypeScript 6 versus 7. Here are the numbers, how to upgrade, and the one thing that broke. Video version: What changed The compiler was…