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-06-11T07:32:07Z · sha 75f9b0722b62 · tsz release-pgo, 17 PGO training inputs, profile 8123f8f33a43 · linux/x64 · 32 CPUs AMD EPYC 7B12 · 31.4 GiB RAM · CI runner · Cloud Build e2-highcpu-32

Sum across 40 successful micro benchmark cases.

tsz
7s
tsgo
20s
tsz 2.99x 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
91ms
tsgo
186ms
tsz 2.0x faster
View details

16,758 lines · 467 KB

tsz
80ms
tsgo
112ms
tsz 1.4x faster
View details

1,012 lines · 27 KB

tsz
108ms
tsgo
144ms
tsz 1.3x faster
View details

3,903 lines · 87 KB

tsz
216ms
tsgo
136ms
tsgo 1.6x faster
View details

8,044 lines · 216 KB

tsz
2.1s
tsgo
398ms
tsgo 5.2x faster
View details

Large repositories

222,594 lines · 6,946 KB

tsz
359ms
tsgo
509ms
tsz 1.4x faster
View details

Generated apps

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

282 lines · 7 KB

tsz
219ms
tsgo
149ms
tsgo 1.5x faster
View details

86 lines · 2 KB

tsz
256ms
tsgo
147ms
tsgo 1.7x faster
View details

Compile canaries and incomplete project timings

Rows that are tracked for compile readiness but are not part of the timed vs-tsgo chart yet.

Micro Benchmarks

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