benchmarks / high-load validation / load-safeparse-100k
High-load validation
safeParse — 100k users, invalid tail
Issue collection at the end of a 100k batch.
Issue collection at the end of a 100k batch.
Reproduce it
pnpm bench:load
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).
| Suite | Implementation | Avg time | Heap/op |
|---|---|---|---|
| safeParse — 100k users, invalid tail | jit | 6.37 ms | 1.95 KB |
| typia (generated) | 27.76 ms | 5.46 MB | |
| Zod 4 | 111.38 ms | 21.01 MB | |
| TypeBox (compiled) | 300.24 ms | 4.64 MB |
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