Introducing JetStream 2.1
JetStream 2.1 keeps the same 64 JavaScript subtests as JetStream 2 but changes the benchmark driver to pre-fetch network resources into Blobs and load subtests from blob URLs. JetStream 2 scores could vary with network speed because network latency created pauses between subtests, and second-order effects like CPU ramping then skewed the results. With the fix, scores measured on Chrome and Safari are more stable. JetStream 2.1 scores are not comparable to any other JetStream version.
Related posts
- Speedometer 2.1
WebKit mediumAdeptSpeedometer 2.1 is a minor update that fixes the benchmark harness so it no longer measures artificial timer throttling. The harness used nested setTimeout calls to capture deferred asynchronous work, but the deep nesting it built up triggered the spec-mandated 4ms throttle between callbacks, inflating measured work time. Inserting window.requestAnimationFrame before each test run resets the nesting level and isolates subtests better. Scores improved 3-5% in stable Safari, Chrome and Firefox.
- Introducing the JetStream 3 Benchmark Suite
WebKit hardMasterJetStream 3 replaces JetStream 2's separate Wasm Startup/Runtime scores with the JavaScript-style first-iteration, worst-case and average-case scoring. The old scheme broke once engines hit sub-millisecond startup that Date.now() rounded to zero, giving infinite scores. The suite also favors larger workloads over microbenchmarks. WebKit details the JavaScriptCore work behind its results. Inlining WasmGC object fields into one allocation gave about 40% on the WasmGC subtests, and removing per-object destructors gave about 40% on Dart-flute-wasm. Other work inlines bump-pointer allocation into the BBQ and OMG tiers, uses Cohen's display for constant-time subtype checks, makes priority-based non-local inlining decisions, and profiles indirect calls for guarded inlining.
- Bun v1.3.4
Bun mediumAdept
Bun 1.3.4 adds the URLPattern Web API (passing 408 Web Platform Tests), Jest-style fake timers in bun:test, custom proxy headers in fetch() and a %j console format specifier. It also fixes three separate bugs that stopped http.Agent keepAlive from reusing connections, including case-sensitive header parsing that violated RFC 7230. Standalone executables built with --compile no longer load tsconfig.json or package.json at runtime unless you opt back in with new flags. Other changes update bun:sqlite to SQLite 3.51.1, tighten chunk-terminator validation per RFC 9112, and fix many fuzzer-found crashes in Buffer, FFI, Node.js compatibility and Windows behaviour.
- Bun v0.8.0
Bun mediumAdept
Bun v0.8.0 adds a debugger via WebKit's Inspector Protocol (`--inspect` with a web UI at debug.bun.sh), a `bun update` command, streaming `fetch()` response bodies, and true streaming of ReadableStream responses in `Bun.serve()`, which previously buffered them. `node:tty` ReadStream/WriteStream and `process.stdin.setRawMode()` now work, unblocking interactive prompt libraries such as inquirer, and SvelteKit and the Nuxt dev server now run. Other changes include Jest `test.each`/`describe.each`, a SIMD-optimized `Buffer.toString("hex")` that is 40x faster, and a fix for a DOMJIT crash in Buffer functions introduced by a JavaScriptCore upgrade. For fast streaming, `type: "direct"` ReadableStreams are still recommended for now.
- Bun v1.2.18
Bun mediumAdept
Bun v1.2.18 fixes 52 issues and adds ReadableStream .text()/.json()/.bytes()/.blob(), ReadableStream stdin for Bun.spawn, permessage-deflate compression for the WebSocket client, and Math.sumPrecise. Large fetch() and S3 uploads now apply backpressure, pausing stream reads while the socket is busy so memory stays flat, and S3 writer.flush() resolves after each part uploads. Native addon performance improves: napi_create_buffer skips zero-initialization for about 30% faster large allocations, and sliced strings are no longer cloned. Node.js compatibility work includes reporting as Node v24.3.0, fs.glob matching directories by default, and http2 remoteSettings and net error-handling fixes.