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-14T08:55:47Z · sha f32504ae1521 · tsz release-pgo, 17 PGO training inputs, profile 8fdb07087b92 · linux/x64 · 32 CPUs Intel(R) Xeon(R) CPU @ 2.20GHz · 31.4 GiB RAM · CI runner · Cloud Build e2-highcpu-32

Sum across 78 successful micro benchmark cases.

tsz
14s
tsgo
37s
tsz 2.61x 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
50ms
tsgo
151ms
tsz 3.1x faster
View details

16,758 lines · 467 KB

tsz
44ms
tsgo
93ms
tsz 2.1x faster
View details

1,012 lines · 27 KB

tsz
70ms
tsgo
112ms
tsz 1.6x faster
View details

3,903 lines · 87 KB

tsz
91ms
tsgo
111ms
tsz 1.2x faster
View details

Large repositories

222,594 lines · 6,946 KB

tsz
243ms
tsgo
420ms
tsz 1.7x faster
View details

Generated apps

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

282 lines · 7 KB

tsz
132ms
tsgo
118ms
tsgo 1.1x faster
View details

86 lines · 2 KB

tsz
151ms
tsgo
113ms
tsgo 1.3x 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.