Benchmarks

tsz has focused on single-file performance so far. Work is underway to make it fast for full projects too.

Summary

show runner info

Generated 2026-11-21T07:50:36Z · sha 0b4641ac285f · tsz release build without PGO · linux/x64 · 4 CPUs AMD EPYC 9V74 80-Core Processor · 15.6 GiB RAM · GitHub Actions Linux/X64

Sum across 80 successful micro benchmark cases.

tsz
8s
tsgo
25s
tsz 3.30x faster
tsz (Rust compiler) tsgo (Go compiler)

Full Project Type Checking

Full-project rows use real repositories and generated app fixtures.

External libraries

20,151 lines · 742 KB

tsz
49ms
tsgo
110ms
tsz 2.3x faster
View details

16,758 lines · 467 KB

tsz
40ms
tsgo
69ms
tsz 1.7x faster
View details

1,012 lines · 27 KB

tsz
57ms
tsgo
87ms
tsz 1.5x faster
View details

3,903 lines · 87 KB

tsz
84ms
tsgo
85ms
equal
View details

Generated apps

Programmatically created app projects with framework defaults and common TypeScript dependencies.

282 lines · 7 KB

tsz
133ms
tsgo
93ms
tsgo 1.4x faster
View details

Not charted: canaries, incomplete, or tsz slower than tsgo

Rows that ran but are not in the timed chart: compile canaries, rows without a full tsz and tsgo timing pair, or rows where tsz is at least 1.5x slower than tsgo.

Micro Benchmarks

Focused cases for specific compiler paths: single-file library checks, generated type workloads, and solver stress tests.