Fresh Next.js app
Full project type-check throughput, including module graph setup and cross-file type analysis.
tsgo is 1.6x faster 282 lines 7 KB
Timing
README
Fresh Next.js app benchmark
This fixture is generated by scripts/bench/generate-next-app-fixture.mjs.
Each benchmark run recreates the app, installs current npm versions, and type-checks the generated Next.js project with:
tsz --noEmit -p tsconfig.json
tsgo --noEmit -p tsconfig.json
The app intentionally imports and uses common type-heavy dependencies:
zod@tanstack/react-queryreact-hook-formtype-festts-patternsuperjsondate-fnsclsxzustandvalibot
The generated source mixes App Router pages, server actions, schema inference, discriminated unions, form helpers, query typing, store typing, and JSON-safe utility types so the benchmark reflects a modern application rather than a tiny startup file.