Benchmarks

Compile Time

What RunTypes and typia cost to build, and what each type costs the TypeScript compiler.

The build cost of the two transform-based libraries on tsgo, measured over the whole suite, one library per row. The tsgo compile column is the reference: a normal tsgo type-check that emits, with no validators. The full runtypes column is the build that transforms and emits the validators. The typecheck+full runtypes column is each toolchain's real total to type-check and emit validators: RunTypes runs a compile and the build as two passes (tsgo compile + full), while typia's ttsc type-checks as it transforms, so its full already includes the compile. The transform cost column (full minus tsgo compile) isolates what generating the validators adds.

$ loading benchmark…

Zooming in on the type checker itself, every library is measured for the work each type adds to the compiler. This is the cost your editor and every tsc run pay, no transform required.

$ loading benchmark…
Copyright © 2026