ZIPP 0.0.42
An audit release. Three real applications were profiled against Node.js until no single runtime path stood out, and each finding was fixed at its cause: twelve performance fixes and five correctness fixes. Applications run 2% to 22% faster than under 0.0.41, and long-running DOM workloads a further 6% on top.
Benchmark Highlights (v0.0.42 vs. v0.0.41, Node.js)
All measurements below were captured on Windows x86-64 with byte-identical output against Node.js v24.19.0, comparing matched local non-PGO fat-LTO builds of v0.0.41 (ed5be457) and v0.0.42. The published binaries are PGO builds, whose absolute times differ.
Real-World Applications (bench/apps, 7 Repetitions of 15 Iterations, Warm Median)
| App |
v0.0.41 Warm |
v0.0.42 Warm |
Change |
v0.0.42 Warm vs. Node.js |
v0.0.42 Whole Process vs. Node.js |
| linkedom (parse HTML into a DOM and query it) |
4.02 ms |
3.95 ms |
−1.7% |
3.76× |
1.16× |
| defuddle (extract an article, convert to Markdown) |
108.04 ms |
84.08 ms |
−22.2% |
3.86× |
2.46× |
| webforai (HTML to Markdown through hast and mdast) |
76.48 ms |
65.51 ms |
−14.3% |
4.06× |
2.33× |
Long Runs (Warm Median per Document)
| Run |
v0.0.41 |
v0.0.42 |
Change |
| linkedom, 1,500 documents |
4.29 ms |
4.04 ms |
−5.9% |
| defuddle, 250 documents |
150.4 ms |
107.6 ms |
−28.4% |
Suites
| Suite |
Result |
JS tools/bench.py (bench/real, 13 programs, 9 paired reps) |
0.994× geomean against v0.0.41, ALL_CORRECT=1, no row slower outside its interval |
| Test262 (pinned corpus) |
96,563 of 96,564, the one documented expected failure |
New in 0.0.42
- Garbage collection:
- An Array callback method (
map, filter, forEach, find, some, every, reduce) no longer holds the collection lock while its callback runs. A long callback chain could previously defer every collection until it returned.
- A minor collection roots only the property maps written since the last collection, instead of walking the own-property tables of every old array and function. In long runs of DOM code this walk was the hottest instruction in the process.
- Calls:
- A built-in global function called in tail position in strict code (
return Boolean(x), String(x), Number(x), parseInt(s), and the rest) keeps its guarded opcode, and Boolean(x) is computed inline: 29 ns to 8 ns.
- A compiled function entered from the runtime (a getter, a method reached through
call, a parent constructor) has its global-route validation recorded, so the native call path accepts it again. Under the Node layer such functions stayed on the slow path for the rest of the run.
- Derived-class construction and
super(...) enter the parent constructor directly.
- A missed inlined-leaf guard falls back to the native call path instead of a runtime helper.
- A user method named like a built-in (
get, has, push, ...) takes the user-method fast paths.
- Objects and properties:
- Imported modules,
eval, new Function and embedder scripts build object literals in one step, as the main script does: a four-key literal in a module goes from 118 ns to 14 ns.
- A getter defined on an ES5-style prototype (
Object.defineProperty(P.prototype, ...)) is found by the receiver's shape and called natively.
- An Array's method is read from its live prototype slot.
- Prototype versions recorded at setup are the marked ones, which re-enables the absent-property memo and the array-iterator check (both inactive since 0.0.34).
- Fixes:
- A compiled loop reads a short string through its own buffer.
- A read through a null prototype no longer teaches a shape that an inherited key is absent.
- A private field's entry is charged to a metered heap when it is added.
- A class that extends a bound function constructs it in
super().
- The JSX grammar is left out of builds without TypeScript.
- Tooling:
bench/apps is in the repository: the linkedom, defuddle and webforai workloads with a harness that runs ZIPP and Node.js side by side.
Downloads
| File |
What it is |
zipp-0.0.42-windows-x86_64-portable.exe |
The Windows command line; run it from anywhere. |
zipp-0.0.42-windows-x86_64-installer.msi |
The same binary, installed for the current user into %LOCALAPPDATA%\Programs\ZIPP and added to PATH; no administrator rights. Uninstall from Settings > Apps. |
zipp-0.0.42-linux-x86_64 |
The Linux command line, x86-64 (glibc 2.35 or later). chmod +x it after downloading. |
zipp-0.0.42-linux-arm64 |
The same for 64-bit Arm. |
zipp-0.0.42-linux-armv7 |
The same for 32-bit Arm (hard float); interpreter only, and WebAssembly on wasmi. |
zipp-0.0.42-javascript.wasm |
The JavaScript engine for browsers, Node, Deno and Bun. |
zipp-0.0.42-javascript-typescript.wasm |
The same with TypeScript and TSX. |
zipp-0.0.42-javascript-lite.wasm |
The JavaScript core without Intl and Temporal, built for size. |
zipp-0.0.42-javascript-python.wasm |
JavaScript and Python, torch built in. |
zipp-0.0.42-javascript-python-base.wasm |
JavaScript and Python without torch. |
zipp-0.0.42-javascript-php.wasm |
JavaScript and PHP 8.x, with PhpApp SAPI and SQL bridge support. |
zipp-0.0.42-javascript-rust.wasm |
JavaScript and Rust, with Axum/SQLx worker-boot support. |
zipp-0.0.42-torch-package.wasm |
The torch package for the -python-base engine. |
zipp-0.0.42-<engine>.wasm.br |
Each WebAssembly module compressed with Brotli (quality 11), about a quarter of its size. Serve it with Content-Encoding: br and Content-Type: application/wasm, or let zipp.mjs load it; the plain .wasm is the default. |
zipp-0.0.42-wasm-embed-kit.zip |
zipp.mjs (the loader and sandbox, version 1.5.0) and its types, the host SDK (1.4.0), the engine's TypeScript declarations, the browser GPU adapter, docs and examples. |
SHA256SUMS |
Checksums of every file. |
Verification
- All release binaries, WebAssembly variants, and the embed kit are built and verified from the tagged commit in release.yml and release-build.yml.
- Every WebAssembly engine module retains the audited 51-function host import surface (plus
zippTorchKernel on Python builds) and the 1 GiB linear memory cap.
Full Changelog: v0.0.41...v0.0.42