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-07T09:54:11Z · sha 183365c404c3 · tsz release build without PGO · linux/x64 · 4 CPUs AMD EPYC 7763 64-Core Processor · 15.6 GiB RAM · GitHub Actions Linux/X64

Sum across 80 successful micro benchmark cases.

tsz
10s
tsgo
29s
tsz 2.90x 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
118ms
tsz 2.4x faster
View details

16,758 lines · 467 KB

tsz
39ms
tsgo
76ms
tsz 2.0x faster
View details

1,012 lines · 27 KB

tsz
69ms
tsgo
88ms
tsz 1.3x faster
View details

3,903 lines · 87 KB

tsz
99ms
tsgo
94ms
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.