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-11T09:16:19Z · sha f8e3fc6b7bea · 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
7s
tsgo
21s
tsz 2.83x 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
48ms
tsgo
87ms
tsz 1.8x faster
View details

16,758 lines · 467 KB

tsz
37ms
tsgo
59ms
tsz 1.6x faster
View details

1,012 lines · 27 KB

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

3,903 lines · 87 KB

tsz
81ms
tsgo
73ms
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.