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
Sum across 80 successful micro benchmark cases.
tsz (Rust compiler)
tsgo (Go compiler)
Full Project Type Checking
Full-project rows use real repositories and generated app fixtures.
External libraries
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.
- Ts toolbelt project tsz 3.6x slower than tsgo
- Zod project tsz error; tsc ok
- Kysely project tsz error; tsc ok
- Comlink project tsz 5.6x slower than tsgo
- Fresh Vite app tsz 3.9x slower than tsgo
- Fresh Next.js app tsz 1.7x slower than tsgo
- Large ts repo project tsz exit codes 124; tsgo exit codes 1
- type-challenges solutions project not recorded in latest benchmark artifact
- Next.js full project not recorded in latest benchmark artifact
- Valibot project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Msw project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Effect project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Drizzle orm project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Ts rest project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Ofetch project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Ts pattern project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Radash project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Valtio project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Scule project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Mitt project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Change case project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Tiny invariant project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Ts belt project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Ts extras project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Superjson project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Trpc project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Tanstack query project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Tanstack router project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Zustand project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Jotai project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Fp ts project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Io ts project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Immer project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Remeda project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Ts morph project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Arktype project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Superstruct project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Runtypes project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Hotscript project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Typebox project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Class transformer project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Type graphql project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Neverthrow project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Xstate project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Mobx project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Umami project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Excalidraw project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Dub project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Formbricks project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Typebot project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Lobe chat project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Supabase studio project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Infisical project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Payload project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Medusa project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Outline project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Trigger dev project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Joplin project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Directus project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- N8n project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Cal com project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Documenso project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Affine project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Immich server project compile canary tracked in CI; not timed by vs-tsgo benchmarks
- Rocketchat project compile canary tracked in CI; not timed by vs-tsgo benchmarks
Micro Benchmarks
Focused cases for specific compiler paths: single-file library checks, generated type workloads, and solver stress tests.