Fresh Vite app

Full project type-check throughput, including module graph setup and cross-file type analysis.

tsgo is 1.6x faster 86 lines 2 KB

Timing

tsz
196.65ms
tsgo
119.62ms

README

Fresh Vite vanilla TypeScript app benchmark

This fixture is generated by scripts/bench/generate-vite-app-fixture.mjs.

Each benchmark run recreates the app, installs current npm versions, and type-checks the generated Vite project with:

tsz --noEmit -p tsconfig.json
tsgo --noEmit -p tsconfig.json

The fixture intentionally mirrors a fresh npm create vite -- -t vanilla-ts project by using src/vite-env.d.ts with /// <reference types="vite/client" /> and imports for CSS, SVG, and PNG assets. That keeps ambient asset module declarations in the automated project benchmark path.