Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Performance engineering Remove topic Performance engineering Clear all 52 posts RSS

2026

Bun

Bun v1.3.13

Release 17 min +170 XP

Bun v1.3.13 adds per-file test isolation (--isolate), parallel test workers with work stealing (--parallel), CI sharding (--shard=M/N), and git-aware test selection (--changed) built on the import graph. bun install now streams tarballs to disk while downloading, cutting memory 17x in a large repo, and the isolated linker drops a peer-heavy monorepo install from 20.5s to 2.4s.

Bun

Bun v1.3.9

Release 8 min +80 XP

Bun v1.3.9 adds `bun run --parallel` and `--sequential` for running package.json scripts with prefixed output across workspaces, along with Node-compatible HTTP/2 connection upgrades via `net.Server`, `Symbol.dispose` support for test mocks, `NO_PROXY` handling for explicit proxies, `--cpu-prof-interval`, and ESM bytecode in `--compile`.

2025

Bun

Behind The Scenes of Bun Install

Deep dive 32 min +320 XP

Bun's package manager installs dependencies roughly 7× faster than npm, 4× faster than pnpm and 17× faster than yarn because it treats installation as a systems programming problem: the bottleneck on modern NVMe hardware is system call and thread-coordination overhead, not I/O wait. strace benchmarks show bun making ~166k syscalls versus ~1M for npm and ~4M for yarn, with almost no futex contention, because its Zig code calls the kernel directly instead of going through Node's libuv thread pool.

Bun

Bun v1.2.10

Release 5 min +50 XP

Bun v1.2.10 is mostly a bugfix release (33 fixes). It fixes a pathological setImmediate slowdown when non-timer I/O was pending (a 100-iteration loop drops from 74s to 4ms), which makes next build about 10% faster on macOS, and caches the 34 HTTP method strings so request.method no longer allocates.

Bun

Bun v1.2.6

Release 11 min +110 XP

Bun v1.2.6 fixes 74 bugs and rewrites more of node:crypto (Cipheriv/Decipheriv, DiffieHellman, ECDH, randomBytes) in native code on BoringSSL, with benchmarks showing AES-256-GCM going from ~1.15 ms to ~3.5 µs per iteration and scrypt from 365 ms to 47 ms. node:http compatibility work makes Express 9% and Fastify 5.4% faster.

2024

Bun

Bun v1.1.23

Release 7 min +70 XP

Bun v1.1.23 fixes 27 bugs and adds TextEncoderStream/TextDecoderStream, the TextDecoder stream option, Float16Array, and truncation of large arrays in console.log after 100 elements. console.log(string) is 50% faster: a single-string fast path that still needed extra writes for the newline and ANSI reset was dropped in favor of buffered writes.

2023

Bun

Bun v0.6.2

Release 3 min +30 XP

Bun v0.6.2 pulls in JavaScriptCore performance work: number toLocaleString() is 79x faster, JSON.parse is up to 20% faster and JSON.stringify 15% faster on shallow objects, Proxy get/set is 2x or more faster, and Object.assign with empty sources and returning arguments are each 2x faster.

2022

Bun

Bun v0.2.0

Release 5 min +50 XP

Bun v0.2.0 adds `bun --hot` for server-side hot reloading that preserves global state and in-flight HTTP requests, `Bun.spawn`/`Bun.spawnSync` for process spawning with flexible stdin sources and ReadableStream output, and streaming request bodies in `Bun.serve`.

The quest for software engineering knowledge.

Look:
Layout: