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-04T14:18:33Z · sha 954e9618c0f2 · tsz release-pgo, 17 PGO training inputs, profile 9d1712cb5c92 · linux/x64 · 32 CPUs AMD EPYC 7B12 · 31.4 GiB RAM · CI runner · Cloud Build e2-highcpu-32

Sum across 39 successful micro benchmark cases.

tsz
6s
tsgo
17s
tsz 3.08x 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
54ms
tsgo
160ms
tsz 3.0x faster
View details

16,758 lines · 467 KB

tsz
44ms
tsgo
100ms
tsz 2.3x faster
View details

1,012 lines · 27 KB

tsz
79ms
tsgo
114ms
tsz 1.4x faster
View details

Large repositories

222,594 lines · 6,946 KB

tsz
253ms
tsgo
474ms
tsz 1.9x faster
View details

Generated apps

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

282 lines · 7 KB

tsz
195ms
tsgo
122ms
tsgo 1.6x faster
View details

86 lines · 2 KB

tsz
197ms
tsgo
120ms
tsgo 1.6x faster
View details

Micro Benchmarks

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