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-08-18T03:16:07Z · sha 8052f9ac8ea5 · 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
9s
tsgo
26s
tsz 2.85x 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
59ms
tsgo
113ms
tsz 1.9x faster
View details

1,012 lines · 27 KB

tsz
66ms
tsgo
89ms
tsz 1.3x faster
View details

3,903 lines · 87 KB

tsz
101ms
tsgo
92ms
tsgo 1.1x 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.