
Working towards a more sustainable future @mill
- Tweets326
- Following912
- Followers96
- Likes4.1K

ALT Benchmark card titled “Saving 5,000 uploads to disk · 2 MB each — same Hono app, three runtimes.” Subtitle: “Bun v1.4 uses 35× less memory than v1.3.14 and takes uploads at 1.65× Node’s requests per second.” Horizontal bar chart of peak memory (max RSS of the server process, shorter is better): Bun v1.4 316 MB, Bun v1.3.14 11,142 MB (bar fills the track), Node v26.5 213 MB. Smaller figures below: requests per second — Bun v1.4 999, Bun v1.3.14 552, Node 604; CPU time — Bun v1.4 16.3 s, Bun v1.3.14 20.8 s, Node 19.5 s. Route under test: app.post(”/upload”, async (c) => { await Bun.write(path, c.req.raw); return c.text(“ok”) }), with a note that Node saves it with await pipeline(Readable.fromWeb(c.req.raw.body), createWriteStream(path)). Footer: oha -c 100 -n 5000 -m POST -D 2mb.bin, same Hono 4.12 app on each runtime, each saving the body its idiomatic way, Linux x64, GNU time -v, median of 5 runs; bun 1.4.0-canary f91d5c95c, bun 1.3.14, node 26.5.0.


























