jit 1.0 compiled validators, queries and codecs are out. Star it on GitHub →

jit

benchmarks / validation / validate-is

Validation

is() — valid object

Boolean guard over a realistic user object.

is() — valid objectlower is better · pnpm bench:validate

Boolean guard over a realistic user object.

Reproduce it

pnpm bench:validate

Clone the repository, install with pnpm, and run the command above. mitata prints avg times and heap per operation; results land in bench/results (gitignored).

Benchmark results with environment Node 22.17.1, AMD Ryzen 7 5800H
SuiteImplementationAvg timeHeap/op
is() — valid objectjit (AOT)56.99 ns0.26 b
jit (runtime)57.56 ns
Zod 4903.69 ns2.29 kb
mitata · Node 22.17.1 · linux-x64 · AMD Ryzen 7 5800H · captured 2026-07-11Zod 4.4.3 · TypeBox 0.34 · typia 12 · fast-json-stringify 7