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-07-19T10:59:45Z · sha 8451643acec1 · 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
28s
tsz 2.98x 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
53ms
tsgo
115ms
tsz 2.2x faster
View details

16,758 lines · 467 KB

tsz
41ms
tsgo
77ms
tsz 1.9x faster
View details

1,012 lines · 27 KB

tsz
68ms
tsgo
90ms
tsz 1.3x faster
View details

3,903 lines · 87 KB

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