Bun: bun-v0.0.28 Release

Release date:
October 4, 2021
Previous version:
bun-v0.0.27 (released October 1, 2021)
Magnitude:
806 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in bun-v0.0.28

Jarred-Sumner

Directory Browser for bun-v0.0.28

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

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.

<img width="798" alt="CleanShot 2021-10-03 at 23 06 06@2x" src="https://user-images.githubusercontent.com/709451/135801724-dc2b552b-7a67-4bc6-b19f-101dfca36012.png">

<sup>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</sup>

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