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 90 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
Generated apps
Programmatically created app projects with framework defaults and common TypeScript dependencies.
Large repositories
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 2.5x slower than tsgo
- Zod project tsz 11.3x slower than tsgo
- Kysely project tsz error; tsc ok
- Valibot project tsz error; tsc ok
- Msw project tsc fixture error
- Comlink project tsz 2.9x slower than tsgo
- Effect project tsc fixture error
- Drizzle orm project tsz timeout; tsc ok
- Ts rest project tsz error; tsc ok
- Ofetch project tsz 1.9x slower than tsgo
- Ts pattern project tsz 13.1x slower than tsgo
- Radash project tsc fixture error
- Valtio project tsc fixture error
- Superjson project tsz error; tsc ok
- Trpc project tsc fixture error
- Tanstack query project tsz error; tsc ok
- Tanstack router project tsz timeout; tsc ok
- Zustand project tsz 150.5x slower than tsgo
- Jotai project tsz error; tsc ok
- Fp ts project tsz error; tsc ok
- Io ts project tsc fixture error
- Immer project tsz 2.2x slower than tsgo
- Remeda project tsc fixture error
- Ts morph project tsc fixture error
- Arktype project tsz timeout; tsc ok
- Superstruct project tsc fixture error
- Runtypes project tsz error; tsc ok
- Hotscript project tsz 3.8x slower than tsgo
- Typebox project tsz timeout; tsc ok
- Class transformer project tsz error; tsc ok
- Type graphql project tsz error; tsc ok
- Neverthrow project tsz error; tsc ok
- Xstate project tsz error; tsc ok
- Mobx project tsz error; tsc ok
- Fresh Vite app tsz 1.9x 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
- 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.