Zipp benchmarks
This is the canonical home for Zipp's performance numbers. Every table below comes from a checked-in JSON capture with engine hashes, competitor hashes, per-repetition schedules and bootstrap replicates, so anyone can re-run it and anyone can cite it. Ratios are Zipp divided by the competitor: lower is faster.
Headline
- Zipp/Node, all 30 rows, geometric mean
- 0.583×
- Zipp/Bun, all 30 rows
- 0.461×
- Zipp/Deno, all 30 rows
- 0.389×
- Rows where Zipp's median beats Node's
- 29 / 30
normal 13 0.532×, hostile 17 0.624×
normal 0.457×, hostile 0.464×
normal 0.445×, hostile 0.351×
1 row is slower (allocation-survival); listed below
Capture: 24 November 2026, the 0.0.40 engine as a clean profile-guided-optimization build recorded as zipp 0.0.40 from source 0cd3eab8 (the release tag). Native Windows x86-64, four engines, 15 repetitions per row, exact byte-for-byte output on every observation, and both artifacts record publishable:true. Every engine runs with its production JIT; Interpreter versus interpreter compares Zipp's interpreter with QuickJS (0.430×, 30/30) and the JIT-off modes, and Python versus CPython its Python frontend (0.626× CPython 3.13, 26/36 wins). The all-30 figures weight the 30 rows equally, exp((13 ln G13 + 17 ln G17) / 30) of the two suites' geometric means, whose intervals are given with each suite. The downloaded release binary (zipp-0.0.40-windows-x86_64-portable.exe) runs the normal 13 rows at 0.533× Node ([0.530, 0.538]); a paired A/B against the canonical PGO build measures 0.997×.
Release v0.0.44: real-world apps, 4-way interpreter vs V8 --jitless, and PGO+PGSO
Measured on 30 November 2026 on Windows x86-64 (AMD Ryzen 9 9950X3D, rustc 1.92.0) with byte-identical output against Node.js v24.19.0 (bench/results/latest.json, docs/releases/0.0.44.md). Separating interpreter performance (ZIPP_NOJIT=1 vs node --jitless) from JIT performance shows Waves 1–14 cut pure-interpreter webforai time by 59.6% (beating V8 --jitless at 0.58× warm / 0.61× wall) while pushing O3 PGO+PGSO to 0.494× Node on bench/real (13/13 wins) and 0.549× Node across all 30 rows (29/30 wins).
| App | v0.0.43 Warm | v0.0.44 Warm | vs v0.0.43 | Warm vs Node | Wall vs Node |
|---|---|---|---|---|---|
| linkedom (HTML DOM parse + query) | 2.81 ms | 2.54 ms | −9.6% (1.11×) | 2.68× → 2.46× | 1.21× → 1.11× |
| defuddle (article extract + Markdown) | 53.37 ms | 43.11 ms | −19.2% (1.24×) | 2.45× → 1.99× | 1.86× → 1.55× |
| webforai (HTML → hast/mdast → MD) | 49.45 ms | 39.07 ms | −21.0% (1.27×) | 3.22× → 2.52× | 2.05× → 1.70× |
| App | v0.0.43 Warm | v0.0.44 Warm | Warm Change | v0.0.44 Wall | vs V8 --jitless (warm / wall) |
|---|---|---|---|---|---|
| linkedom | 8.62 ms | 6.44 ms | −25.3% (1.34×) | 365.9 ms (−13.2%) | 1.40× / 0.96× |
| defuddle | 175.50 ms | 139.00 ms | −20.8% (1.26×) | 2519.4 ms (−19.4%) | 1.52× / 1.39× |
| webforai | 228.35 ms | 92.30 ms | −59.6% (2.47×) | 1761.5 ms (−55.9%) | 0.58× / 0.61× |
Across the three applications in pure interpreter mode, v0.0.44 averages 0.935× V8 --jitless wall time (0.921× first iteration, 1.074× warm), with a 2.68× warm JIT acceleration factor (S_J). Under O3 PGO+PGSO (12.50 MB, trained on bench/pgo-training), v0.0.44 reaches 0.494× Node on bench/real (13/13 wins, headline 10 0.679×), 0.594× Node on bench/hostile (16/17 wins), 0.549× Node across all 30 rows (29/30 wins), cold startup 9.90 ms vs Node 35.69 ms (3.61× faster), linkedom 1.045× Node wall (warm 2.43 ms), defuddle 1.967× warm / 1.523× wall (41.89 ms), and webforai 2.42× warm / 1.634× wall (37.18 ms). The size-optimized release-s PGO+PGSO build (9.15 MB) measures 0.552× on bench/real and 0.594× across all 30 rows. In WebAssembly (bench.cjs, 40/40 boundary checks), v0.0.44 improves across every v0.0.43-tracked workload (arith-mod −10.3%, prop-mono −2.7%, alloc-object −1.6%).
Real-world applications & extra suites in v0.0.40
Beyond the canonical 30-row JS suite and 36-program Python suite below, v0.0.40 was also profiled against six unmodified third-party JavaScript and Python HTML/DOM applications (linkedom, defuddle, webforai, html2text, bs4_css, markdownify), the 16-pattern JS regex suite (bench/regex), and PHP/Rust collection workloads (docs/releases/0.0.40.md). All runs verify byte-identical output against Node.js v24.19.0 and CPython 3.13.
| App | Reference | Ref Warm / Wall (8×) | v0.0.39 (PGO) | v0.0.40 Warm / Wall (8×) | vs v0.0.39 | v0.0.40 / Ref (Warm / Wall) |
|---|---|---|---|---|---|---|
| linkedom | Node.js v24.19.0 | 1.31 ms / 336–337 ms | 9.56 ms | 6.14–6.21 ms / 467–473 ms | 1.55× faster | 4.69–4.74× / 1.38–1.41× |
| defuddle | Node.js v24.19.0 | 26.05–26.73 ms / 597–604 ms | 160.32 ms | 139.76–146.77 ms / 1595–1650 ms | 1.09×–1.15× faster | 5.36–5.49× / 2.64–2.76× |
| webforai | Node.js v24.19.0 | 17.57–18.30 ms / 521–522 ms | 107.57 ms | 102.18–107.16 ms / 1277–1351 ms | 1.00×–1.05× faster | 5.58–6.10× / 2.45–2.59× |
| html2text | CPython 3.13 | 5.60–5.67 ms / 198–206 ms | 41.15 ms | 14.31–15.39 ms / 282–289 ms | 2.67×–2.88× faster | 2.55–2.72× / 1.37–1.46× |
| bs4_css | CPython 3.13 | 5.74–5.89 ms / 282–300 ms | 65.73 ms | 36.12–38.44 ms / 482–502 ms | 1.71×–1.82× faster | 6.13–6.70× / 1.68–1.71× |
| markdownify | CPython 3.13 | 7.87–8.10 ms / 227–239 ms | 104.80 ms | 54.03–56.54 ms / 645–671 ms | 1.85×–1.94× faster | 6.67–7.19× / 2.81–2.84× |
| Suite | v0.0.39 (PGO) | v0.0.40 | Highlights |
|---|---|---|---|
JS bench/regex (16 patterns vs Node.js) | 2.44× geomean | 1.90× geomean (~1.28× faster) | literal-utf16 4.0× -> 0.82× (now beating Node), lookbehind 1.41× faster |
| PHP & Rust runtimes (O(N²) fixes) | O(N²) / O(N² log N) | O(1) / O(N) | PHP array_pop stack ~65× (614 ms -> 9.5 ms), PHP cursor loop ~180× (2266 ms -> 12.5 ms), Rust VecDeque/BTreeMap/String::pop 8.6× (481 ms -> 56 ms) |
Why do steady-state DOM and HTML apps still trail V8 and CPython on warm loops even when ZIPP beats Node on 29/30 canonical JS rows and CPython on 26/36 Python rows? Large third-party DOM libraries create highly megamorphic call graphs, deep prototype chains, frequent substring allocations, and dense regex backtracking where V8 TurboFan speculatively inlines across dozens of callees and CPython runs compiled C modules (_sre, C HTML parsers). ZIPP closes much of the gap on real CLI invocations thanks to its ~11 ms startup (wall-clock 1.38× Node on linkedom, 1.37× CPython on html2text), and v0.0.40 added ZIPP_PERF_MAP=1 JS function names (PR #110 by @codeandsolder) so future rounds can profile remaining hotspots directly.
Methodology
- Cold process time. Every observation is a fresh process timed with a wall clock around spawn and exit. A paired empty launch of the same engine runs immediately before each full launch; the headline uses the cold time, and the launch-adjusted time is reported as a diagnostic.
- No warm-up and no
--jitlessgames. Every engine runs with its production JIT and an empty environment; any inherited runtime control such asNODE_OPTIONSorZIPP_NOJITmarks a run diagnostic-only. - Counterbalanced schedule. A seeded engine order rotates once per repetition so each engine occupies every position; the per-repetition order is recorded in the artifact.
- Intervals. 95% percentile bootstrap with 10,000 replicates, described in the artifact as descriptive, not a hypothesis test. Suite geometric means use a cluster bootstrap by repetition. "Win" below means a Bonferroni-adjusted exact one-sided paired sign test at 0.05 across all comparisons (39 for the normal suite, 51 for hostile).
- Correctness first. Standard output is compared byte for byte against the reference on every repetition. A single mismatch disqualifies the capture.
- Publication gate. Full Node, Bun, Deno, Zipp order with Node as baseline; the complete frozen suite; at least 15 repetitions and 10,000 bootstrap samples; a clean,
HEAD-matching, provenance-stamped PGO binary.
| Item | Value |
|---|---|
| CPU | AMD Ryzen 9 9950X3D (AMD64 Family 26 Model 68), High performance power plan. RAM is not recorded. |
| OS | Windows 11, build 10.0.26200 |
| Zipp build | rustc 1.92.0 (LLVM 21.1.3), x86_64-pc-windows-msvc, --no-default-features release: opt-level=3, lto=fat, codegen-units=1, panic=abort, -Ctarget-cpu=x86-64 (not native), -Cprofile-use PGO, rust-lld |
| Zipp binary | zipp 0.0.31, SHA-256 8380e0a6…e07452, source fcfb1934, not dirty |
| Node | v24.19.0, SHA-256 3602f2bb… |
| Bun | 1.3.14 via bun run, SHA-256 0187f68d… |
| Deno | 2.6.10 stable via deno run, SHA-256 49e2f75a… |
| Harness | tools/bench.py and tools/bench_hostile.py, Python 3.11.6, seed 0x5A172026, 300-second timeout |
Startup
Median empty-process launch, the paired baseline for every row:
| Engine | Launch |
|---|---|
| Zipp | 11.1 |
| Node | 36.3 |
| Bun | 55.6 |
| Deno | 92.3 |
Normal suite: 13 rows
Ten headline workloads plus three architecture diagnostics that are deliberately kept out of the headline geometric mean. Cold medians in milliseconds; the interval is the 95% bootstrap on the Zipp/Node ratio; an asterisk marks a Bonferroni-adjusted sign-test win over Node.
| Row | Node | Bun | Deno | Zipp | Zipp/Node | Zipp/Bun | Zipp/Deno |
|---|---|---|---|---|---|---|---|
| async-promise-chain | 370.6 | 400.1 | 399.6 | 241.3 | 0.653* [0.637, 0.675] | 0.603 | 0.604 |
| class-prototype-hot | 312.2 | 353.2 | 340.8 | 219.4 | 0.703* [0.695, 0.709] | 0.621 | 0.644 |
| json-large | 323.9 | 242.9 | 380.1 | 265.6 | 0.822* [0.807, 0.850] | 1.094 | 0.699 |
| map-set-heavy | 1,143 | 1,086 | 1,738 | 810.2 | 0.736* [0.704, 0.748] | 0.746 | 0.466 |
| markdown-render | 309.5 | 243.8 | 371.9 | 200.3 | 0.668* [0.660, 0.675] | 0.821 | 0.539 |
| parse-large-js | 298.5 | 252.5 | 318.5 | 227.3 | 0.763* [0.746, 0.803] | 0.900 | 0.714 |
| polymorphic-objects | 348.4 | 349.6 | 354.9 | 219.9 | 0.643* [0.630, 0.650] | 0.629 | 0.620 |
| regex-log-scan | 513.2 | 625.1 | 525.2 | 440.4 | 0.858* [0.797, 0.884] | 0.704 | 0.838 |
| sparse-array | 87.8 | 120.5 | 139.4 | 58.8 | 0.672* [0.652, 0.679] | 0.488 | 0.422 |
| typedarray-math | 215.7 | 959.2 | 195.7 | 147.9 | 0.687* [0.671, 0.709] | 0.154 | 0.755 |
| polymorphic-objects-v2 | 89.9 | 100.7 | 151.1 | 27.4 | 0.299* [0.296, 0.310] | 0.272 | 0.182 |
| property-ic-shapes | 274.6 | 173.7 | 334.5 | 14.5 | 0.054* [0.052, 0.056] | 0.084 | 0.043 |
| sparse-array-v2 | 183.4 | 389.0 | 195.7 | 87.0 | 0.475* [0.468, 0.482] | 0.224 | 0.444 |
| Set | Geometric mean | 95% interval |
|---|---|---|
| Headline 10 | 0.717× | [0.708, 0.725] |
| Diagnostics 3 | 0.197× | [0.195, 0.201] |
| All 13 | 0.532× | [0.527, 0.537] |
Note what parse-large-js measures: a hand-written userland tokenizer over two megabytes of synthetic source. It does not benchmark Zipp's own parser. The diagnostic rows isolate the inline-cache cliff at nine receiver shapes and the sparse-array gap-size axes; they are useful for engineering and would flatter the headline, which is why they are excluded from it.
Hostile suite: 17 rows
The hostile corpus asks how gracefully Zipp performs when JavaScript stops looking like an ideal reducer: six baseline-and-stressor pairs plus five standalone applications, including a React-style reconciler, a warm HTTP router, a bytecode interpreter and the unmodified [email protected] package.
| Row | Zipp/Node | Row | Zipp/Node |
|---|---|---|---|
| calls-baseline | 0.349 | calls-closures | 0.941 |
| shapes-stable | 0.705 | shapes-megamorphic | 0.866 |
| types-stable | 0.466 | types-churn | 0.609 |
| branch-control | 0.683 | throw-catch | 0.233 |
| allocation-ephemeral | 0.404 | allocation-survival | 1.141 |
| async-burst | 0.476 | async-lived | 0.662 |
| reactish-reconcile | 0.843 | warm-router | 0.883 |
| bytecode-vm | 0.875 | module-hot-graph | 0.435 |
| npm-nanoid | 0.888 | — | — |
Ordinary geometric mean 0.624× Node [0.619, 0.630], 0.464× Bun, 0.351× Deno; category-balanced 0.652× Node (up from 0.704× ordinary / 0.738× balanced in v0.0.31, with four hostile rows flipping to beat Node). The suite's aspirational gate (category-balanced at most 1.05×, no category above 1.15×, no row above 1.50×) now passes on all three criteria.
Where Zipp loses
One of thirty rows still has a Node point gap: allocation-survival at 1.141× (improved from 1.344× in v0.0.31). The other four hostile rows that trailed Node in v0.0.31 — reactish-reconcile (1.217× -> 0.843×), warm-router (1.130× -> 0.883×), calls-closures (1.122× -> 0.941×), and shapes-megamorphic (1.038× -> 0.866×) — all flipped to beating Node in v0.0.40.
Against Bun, Zipp loses json-large (1.094×). Against Deno, Zipp loses no row. On the normal suite Bun is the fastest engine on json-large; Zipp is fastest on every other normal row.
Interpreter versus interpreter
The tables above compare production JITs. This one asks how fast Zipp is as a pure interpreter: the same 0.0.40 PGO binary (0cd3eab8) with ZIPP_NOJIT=1 ZIPP_NO_RX_JIT=1, which emits no native code (its JavaScript JIT and its regex JIT both off), against Bellard's QuickJS (2026-06-04), QuickJS-NG (0.18.0), Node --jitless, Deno --v8-flags=--jitless and Bun BUN_JSC_useJIT=0, 8 counterbalanced repetitions each, exact byte-for-byte output against Node.
| Engine | Normal 13 | Hostile 17 | All 30 | Zipp faster |
|---|---|---|---|---|
| QuickJS | 0.376× [0.374, 0.389] | 0.476× [0.473, 0.484] | 0.430× | 30 / 30 |
| QuickJS-NG | 0.319× [0.313, 0.330] | 0.339× [0.337, 0.347] | 0.330× | 30 / 30 |
| Bun no-JIT | 0.542× [0.538, 0.557] | 0.470× [0.461, 0.473] | 0.500× | 30 / 30 |
| Deno jitless | 0.771× [0.764, 0.788] | 0.573× [0.554, 0.587] | 0.652× | 29 / 30 |
| Node jitless | 0.779× [0.776, 0.795] | 0.655× [0.649, 0.664] | 0.706× | 28 / 30 |
| Row | Zipp interpreter | QuickJS | QuickJS-NG | Node jitless | Deno jitless | Bun no-JIT | Zipp/QuickJS |
|---|---|---|---|---|---|---|---|
| async-promise-chain | 343.3 | 5,163 | 3,642 | 517.7 | 520.3 | 656.0 | 0.067 |
| class-prototype-hot | 2,555 | 4,838 | 7,137 | 1,825 | 1,806 | 6,265 | 0.528 |
| json-large | 503.7 | 1,078 | 1,333 | 695.0 | 642.8 | 722.6 | 0.467 |
| map-set-heavy | 983.5 | 2,328 | 2,856 | 1,470 | 1,997 | 1,608 | 0.422 |
| markdown-render | 573.1 | 1,488 | 1,648 | 902.2 | 865.8 | 1,068 | 0.385 |
| parse-large-js | 1,077 | 2,697 | 2,867 | 1,547 | 1,460 | 1,696 | 0.399 |
| polymorphic-objects | 578.2 | 848.1 | 1,280 | 629.3 | 598.2 | 1,426 | 0.682 |
| regex-log-scan | 1,594 | 3,236 | 3,830 | 1,891 | 1,637 | 2,952 | 0.493 |
| sparse-array | 157.6 | 415.7 | 929.0 | 222.5 | 244.3 | 330.8 | 0.379 |
| typedarray-math | 2,348 | 4,962 | 5,724 | 2,361 | 2,431 | 3,538 | 0.473 |
| polymorphic-objects-v2 | 223.2 | 442.2 | 656.1 | 313.0 | 344.2 | 470.3 | 0.505 |
| property-ic-shapes | 1,660 | 1,927 | 3,514 | 2,012 | 2,066 | 1,905 | 0.861 |
| sparse-array-v2 | 209.3 | 1,936 | 723.5 | 343.6 | 331.6 | 529.1 | 0.108 |
| Row | Zipp interpreter | QuickJS | QuickJS-NG | Node jitless | Deno jitless | Bun no-JIT | Zipp/QuickJS |
|---|---|---|---|---|---|---|---|
| calls-baseline | 65.6 | 129.0 | 201.9 | 134.4 | 142.7 | 134.5 | 0.508 |
| calls-closures | 164.4 | 240.9 | 376.5 | 199.9 | 220.5 | 278.3 | 0.682 |
| shapes-stable | 67.6 | 150.1 | 186.9 | 96.8 | 121.7 | 120.2 | 0.451 |
| shapes-megamorphic | 91.5 | 218.0 | 252.9 | 119.8 | 154.0 | 220.9 | 0.420 |
| types-stable | 110.6 | 184.8 | 304.2 | 171.1 | 160.3 | 158.6 | 0.598 |
| types-churn | 71.9 | 109.8 | 165.2 | 105.7 | 127.0 | 147.4 | 0.654 |
| branch-control | 64.6 | 119.0 | 180.6 | 119.6 | 132.3 | 132.6 | 0.543 |
| throw-catch | 72.9 | 108.0 | 323.0 | 187.9 | 157.7 | 186.5 | 0.675 |
| allocation-ephemeral | 84.8 | 280.3 | 348.0 | 131.8 | 149.8 | 303.6 | 0.303 |
| allocation-survival | 120.9 | 232.1 | 263.9 | 119.4 | 149.0 | 172.8 | 0.521 |
| async-burst | 28.7 | 113.7 | 110.2 | 71.1 | 98.1 | 71.3 | 0.252 |
| async-lived | 32.4 | 137.3 | 104.0 | 60.0 | 84.7 | 95.2 | 0.236 |
| reactish-reconcile | 67.1 | 144.3 | 174.0 | 82.5 | 105.9 | 134.4 | 0.465 |
| warm-router | 79.8 | 153.4 | 471.7 | 89.6 | 111.6 | 172.2 | 0.520 |
| bytecode-vm | 219.0 | 459.3 | 653.1 | 315.0 | 340.4 | 525.7 | 0.477 |
| module-hot-graph | 86.4 | 117.4 | 156.8 | 128.7 | 135.5 | 174.9 | 0.736 |
| npm-nanoid | 413.1 | 924.5 | 1,029 | 517.1 | 501.8 | 864.6 | 0.447 |
Over all 30 rows Zipp 0.0.40's pure interpreter (ZIPP_NOJIT=1 ZIPP_NO_RX_JIT=1) runs in 0.430× Bellard's QuickJS's time (30 of 30 rows, down from 0.574× in v0.0.31), 0.330× QuickJS-NG (30/30), 0.500× Bun no-JIT (30/30), 0.652× Deno jitless (29/30), and 0.706× Node jitless (28/30). Artifacts: bench/comparison/interp_real13_0cd3eab8_2026-11-24.json and bench/comparison/interp_hostile17_0cd3eab8_2026-11-24.json.
Python versus CPython
Zipp compiles Python 3.13 to the same register bytecode. tools/python_bench.py runs 36 comparable programs (30 micro kernels, 6 application-shaped) as a fresh process per engine per repetition, interleaved, 15 repetitions, against CPython 3.13.14; every run's output must equal CPython's. The binary is the published 0.0.40 release build (zipp-0.0.40-windows-x86_64-portable.exe, SHA-256 c8f43d00…7f7d0e). Each program times its own workload in-process; that work time is the ratio below. Zipp runs with its JIT and again with ZIPP_NOJIT=1, since standard CPython is an interpreter. 8 further programs (the torch ones) have no CPython counterpart and are not included.
| Set | Zipp with JIT | Zipp, no JIT |
|---|---|---|
| Micro 30 | 0.601× | 1.298× |
| Macro 6 | 0.767× | 1.639× |
| All 36 | 0.626× | 1.350× |
| All, whole-process wall time | 0.456× | 0.537× |
| Program | Set | Zipp | Zipp no JIT | CPython | Zipp/CPython | No JIT/CPython |
|---|---|---|---|---|---|---|
| micro/attr_read_write | micro | 3.17 | 10.91 | 8.08 | 0.392 | 1.329 |
| micro/builtin_isinstance | micro | 5.53 | 16.43 | 9.78 | 0.566 | 1.669 |
| micro/builtin_len | micro | 6.32 | 14.03 | 11.97 | 0.528 | 1.180 |
| micro/call_defaults | micro | 12.57 | 22.87 | 12.86 | 0.978 | 1.768 |
| micro/call_keywords | micro | 9.94 | 8.69 | 8.30 | 1.197 | 1.047 |
| micro/call_simple | micro | 26.45 | 55.07 | 38.04 | 0.695 | 1.463 |
| micro/dict_get | micro | 7.01 | 13.01 | 11.63 | 0.603 | 1.117 |
| micro/dict_str_key | micro | 22.35 | 35.53 | 21.00 | 1.065 | 1.686 |
| micro/float_arith | micro | 2.32 | 11.35 | 9.92 | 0.234 | 1.135 |
| micro/for_list | micro | 6.67 | 26.36 | 17.34 | 0.385 | 1.528 |
| micro/fstring | micro | 6.01 | 8.48 | 3.67 | 1.638 | 2.316 |
| micro/generator_iter | micro | 13.93 | 20.63 | 15.05 | 0.926 | 1.343 |
| micro/global_read | micro | 19.00 | 41.04 | 51.43 | 0.369 | 0.799 |
| micro/hasattr_miss | micro | 1.58 | 4.53 | 2.87 | 0.550 | 1.576 |
| micro/hash_str | micro | 4.17 | 12.15 | 8.01 | 0.521 | 1.526 |
| micro/instance_new | micro | 7.70 | 14.78 | 6.04 | 1.276 | 2.482 |
| micro/int_arith | micro | 57.91 | 71.83 | 152.33 | 0.380 | 0.478 |
| micro/list_append | micro | 5.21 | 12.75 | 5.30 | 0.983 | 2.410 |
| micro/list_index | micro | 7.97 | 28.71 | 27.51 | 0.290 | 1.034 |
| micro/listcomp_small | micro | 7.12 | 8.86 | 7.43 | 0.958 | 1.198 |
| micro/math_sqrt | micro | 7.58 | 20.00 | 10.18 | 0.745 | 1.980 |
| micro/method_call | micro | 10.39 | 17.98 | 8.73 | 1.190 | 2.054 |
| micro/property_read | micro | 1.98 | 14.63 | 9.21 | 0.215 | 1.580 |
| micro/range_loop | micro | 23.34 | 51.48 | 105.09 | 0.222 | 0.488 |
| micro/str_long_len_index | micro | 4.07 | 6.49 | 7.14 | 0.570 | 0.902 |
| micro/str_methods | micro | 14.64 | 22.70 | 7.79 | 1.879 | 3.040 |
| micro/super_call | micro | 12.31 | 16.39 | 8.71 | 1.413 | 1.901 |
| micro/try_raise_catch | micro | 2.85 | 4.05 | 9.35 | 0.305 | 0.444 |
| micro/tuple_swap | micro | 0.76 | 1.74 | 2.98 | 0.257 | 0.578 |
| micro/tuple_unpack | micro | 3.78 | 11.68 | 9.44 | 0.400 | 1.233 |
| macro/fib_recursive | macro | 1.36 | 63.89 | 22.98 | 0.059 | 2.755 |
| macro/json_roundtrip | macro | 8.07 | 7.27 | 8.20 | 0.984 | 0.887 |
| macro/nbody | macro | 7.51 | 19.18 | 9.40 | 0.799 | 2.054 |
| macro/oo_simulation | macro | 25.67 | 23.99 | 13.14 | 1.953 | 1.837 |
| macro/sort_heapq | macro | 7.91 | 7.83 | 6.29 | 1.259 | 1.269 |
| macro/word_count | macro | 18.59 | 17.37 | 10.41 | 1.786 | 1.654 |
With its JIT, Zipp 0.0.40's Python is faster than CPython 3.13.14 on 26 of 36 programs (up from 15 of 36 in v0.0.31): over the micro kernels it takes 0.601× CPython's time, over the application-shaped macro programs 0.767×, and over all 36 programs 0.626× (down from 1.004× in v0.0.31); whole-process wall time is 0.456× with the JIT and 0.537× without it. Artifacts: bench/python/cpython_0cd3eab8_2026-11-24.json and bench/python/cpython_nojit_0cd3eab8_2026-11-24.json.
WebAssembly and GPU
None of the numbers above apply to the WebAssembly build, which is an interpreter. The only WebAssembly comparison in the repository, against QuickJS-NG v0.16.2, is marked not publishable: only five hostile rows were comparable, QuickJS-NG led four of them, and Zipp led warm-router at 0.476×. Module size is a settled fact rather than a benchmark: 5,558,860 bytes raw and 1,248,649 Brotli for Zipp's v0.0.12 artifact against 1,528,293 and 417,087 for QuickJS-NG, 3.59× raw and 2.96× on the wire.
Five WebAssembly interpreter cliffs were closed on 5 September 2026 with paired before-and-after measurements on one machine: a 64K non-ASCII charCodeAt loop 4,462 → 3.2 ms, a tokenizer 9,828 → 8.2 ms, a slice loop 449 → 4.3 ms, join with 300K retained strings 8,423 → 138 ms, and a new Function property loop 20.9 → 14.8 ms.
The Python frontend's measurements are in Python versus CPython above. There are no GPU performance numbers at all; the GPU work is validated for correctness only.
The 11 September capture, and why it is slower
An earlier publishable capture exists at commit 14770703 (zipp 0.0.15, 11 September 2026): headline ten 1.003× Node [0.995, 1.009], all 13 rows 0.677×, hostile ordinary 0.875×, with bytecode-vm at 3.59× Node. A paired A/B against the audited baseline e6e0f65d puts that baseline within 1% of the new build on every row, so the regression opened between 8229b3fc and e6e0f65d. The suspect is the v0.0.15 change that made specification-order method calls the default: the fused CallMethod lowering was observably wrong for a getter or a proxy trap and is now used only where argument shapes provably cannot observe the order. No headline is claimed for 14770703; the trade was correctness for speed, and the ledger says so.
- 1.90× Node, headline ten
First attributable default capture; interpreter-only smoke at 6.42×.
- PGO adopted at −13.3%
1.749× to 1.451× in one build change; two more waves reach 1.330× the same day.
- Nursery on by default: 1.212×
- First capture under 1.20×
typedarray-math reaches Node parity.
- 0.9695×: Node parity crossed
Wave 19 decomposed the three rows that were 60% of the remaining gap.
- Hostile suite under parity at 0.961×
- A 2.16× regression, reversed
A de-fused call lowering; root-caused and reverted the same day.
- 0.878× headline, 0.728× all-30: the public capture
- 1.003× headline after strict call order
Correctness kept; speed to be recovered.
- 0.795× headline, 0.703× all-30: the previous capture
All 13 normal rows faster than Node; seven hostile gaps remain.
- 0.769× headline, 0.634× all-30: the 0.0.26 capture
All 13 normal rows faster than Node; 6 hostile gaps remain, and the bytecode VM is no longer one.
- 0.766× headline, 0.652× all-30: the 0.0.28 capture
All 13 normal rows and 10 of 17 hostile rows faster than Node; the interpreter at 0.685× Bellard's QuickJS (0.683× rerun with its regex JIT off too).
- 0.744× headline, 0.629× all-30: the 0.0.31 capture
All 13 normal rows and 12 of 17 hostile rows faster than Node; the interpreter at 0.574× Bellard's QuickJS.
A release measurement for v0.0.31
The published binaries are built by the release recipe: profile-guided since 0.0.31, but with the release's features (Python, GPU and Wasmtime) and their own training run, so each release is also measured as downloaded. These are descriptive release checks, separate from the canonical capture above. For v0.0.31 (the published zipp-0.0.31-windows-x86_64-portable.exe, source fcfb1934, 29 October 2026; Node 24.19.0, Bun 1.3.14 and Deno 2.6.10, 15 counterbalanced repetitions, paired medians with bootstrap intervals, exact output on every row):
| Row | Node 24 | Zipp | Zipp / Node |
|---|---|---|---|
async-promise-chain | 331 ms | 233 ms | 0.70× |
class-prototype-hot | 299 ms | 226 ms | 0.75× |
json-large | 256 ms | 214 ms | 0.83× |
map-set-heavy | 641 ms | 456 ms | 0.71× |
markdown-render | 265 ms | 176 ms | 0.66× |
parse-large-js | 268 ms | 224 ms | 0.83× |
polymorphic-objects | 328 ms | 207 ms | 0.63× |
polymorphic-objects-v2 | 82 ms | 23 ms | 0.29× |
property-ic-shapes | 258 ms | 11 ms | 0.04× |
regex-log-scan | 462 ms | 401 ms | 0.87× |
sparse-array | 79 ms | 74 ms | 0.93× |
sparse-array-v2 | 171 ms | 96 ms | 0.56× |
typedarray-math | 200 ms | 140 ms | 0.70× |
The geometric mean is 0.757× Node over the ten headline rows [0.753, 0.759] and 0.549× over all 13 [0.546, 0.553]; Zipp's median is below Node's on every row. A paired A/B of the same 13 rows puts the profile-guided build at 0.996× the release build's time [0.991, 1.003] (the two differ in features and build flags as well as in their profiles): the download is within 1% of the canonical figures. The release and A/B artifacts hold the observations.
Reproduce it
& 'C:\Program Files\Git\bin\bash.exe' tools/pgo.sh # profile-guided build of target/release/zipp.exe
New-Item -ItemType Directory -Force target\bench-results | Out-Null
python tools\bench.py --zipp target\release\zipp.exe --engines node,bun,deno,zipp `
--reps 15 --bootstrap-samples 10000 --json target\bench-results\real13.json
python tools\bench_hostile.py --zipp target\release\zipp.exe `
--reps 15 --bootstrap-samples 10000 --json target\bench-results\hostile17.json
python -m unittest tools.test_bench- bench/real13_fcfb1934_pgo_2026-10-29.json, the normal-suite capture.
- bench/hostile/head_clean_fcfb1934_pgo_2026-10-29.json, the hostile capture.
- bench/comparison/interp_real13_fcfb1934_2026-10-29.json and its hostile pair, interpreter against interpreter (Zipp with no native code,
ZIPP_NOJIT=1 ZIPP_NO_RX_JIT=1, against QuickJS, QuickJS-NG and the JIT-off modes of Node, Deno and Bun). - bench/python/cpython_fcfb1934_2026-10-29.json and the no-JIT run, Python against CPython 3.13.14 (the second run sets
ZIPP_NOJIT=1for the whole harness). - bench/comparison/release_real13_fcfb1934_2026-10-29.json and the PGO A/B, the release build as downloaded.
- bench/real13_84012a2d_pgo_2026-10-21.json and its hostile pair, the previous canonical capture (21 October 2026,
zipp 0.0.28), with its interpreter pair and Python run. - bench/real13_f1739644_pgo_2026-10-18.json and its hostile pair, the capture before it (18 October 2026,
zipp 0.0.26), with its interpreter pair and Python run. - bench/real13_fa8e3b86_pgo_2026-10-15.json and its hostile pair, the one before that (15 October 2026,
zipp 0.0.24). - bench/real13_8229b3fc_pgo_2026-09-02.json and the hostile pair, the previous canonical capture (since 17 October 2026 a row of bench/history; these links are to the last commit that held the files).
- bench/real13_14770703_pgo_2026-09-11.json and the hostile pair, the later capture.
- bench/README.md, the suite map and publication gate; bench/hostile/README.md and manifest.json.
- docs/PERF_ROADMAP.md, the checkable roadmap, and the archived performance ledger, 881 KB of experiments including the refuted ones.