github oven-sh/bun bun-v0.0.28
Bun v0.0.28

latest releases: bun-v1.1.28, bun-v1.1.27, bun-v1.1.26...
2 years ago

Bun on Linux x64

Bun is now available for Linux x64. That includes a filesystem watcher leveraging inotify, Linux's API for watching files as well as macros and SSR/SSG.

When bundling 20 copies of Three.js on Linux x64, Bun performed:

  • 1.6x faster than esbuild
  • 13.5x faster than Parcel 2
  • 19.5x faster than Webpack (without babel-loader)

I have done very little work on optimizing Bun for Linux. I'm not satisfied with these numbers, but it's a start.

Bun uses the GOMAXPROCS to control concurrency despite not being written in Go because I didn't want to think about what to name the variable

The runs with GOMAXPROCS=1 are single-threaded runs.

Bun single-threaded performed 2.2x faster than esbuild single-threaded. The relative gap between single-threaded and concurrent performance implies there's room for improvement in Bun's concurrency code. This machine has 6 cores (nproc returns 12) and 64 GB of memory.

Other

  • Bun's installed binary is now about 28% smaller

Don't miss a new bun release

NewReleases is sending notifications on new releases.