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

jit

benchmarks / serialization & streaming / stringify-user

Serialization & streaming

JSON stringify — medium user

Compiled serializer with static keys and escape fast path.

JSON stringify — medium userlower is better · pnpm bench:serialize

Compiled serializer with static keys and escape fast path.

Reproduce it

pnpm bench:serialize

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
JSON stringify — medium userjit207.49 ns875 b
fast-json-stringify266.52 ns1.00 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