benchmarks / data operations / diff-nested
Data operations
diff — nested arrays
Structural diff entries over nested collections.
Structural diff entries over nested collections.
Reproduce it
pnpm bench:diff
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 |
|---|---|---|---|
| diff — nested arrays | jit | 297.31 µs | 1 KB |
| microdiff | 7.66 ms | 7.87 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