URL: https://github.com/peterbe/gg2/pull/121

Bun 1.4 came out yesterday. It's an action-packed release. I created a build matrix that compares versions 1.3.14 and 1.4.0, and looked at the various sizes of the built binaries of github.com/peterbe/gg2. The results are as follows:

Bun Version darwin-arm64 darwin-x64 windows-x64 linux-arm64 linux-x64
1.3.14 65.4 MB 70.8 MB 98.8 MB 94.2 MB 95.0 MB
1.4.0 65.6 MB 72.0 MB 89.3 MB 83.2 MB 83.3 MB
Delta +179.4Kb +1.2Mb -9.5MB -10.9Mb -11.8Mb
Delta +0.3% +1.7% -9.6% -11.6% -12.4%

It matches reasonably well with their 1.4 release blog post.

It's still small. What's amazing is that many of these builds take less than a second to create in this GitHub Action. You can see for yourself by clicking the various nodes of the build matrix and looking at the time output of time bun build src/index.ts --compile --minify --sourcemap --bytecode ....

Your email will never ever be published.

Previous:
useSlowTruth - React hook to throttle booleans August 10, 2026 React
Related by category:
Bun vs. Go for a basic web server benchmark October 24, 2025 Bun
Benchmarking oxlint vs biome December 12, 2025 Bun
Testing out vite 8 on SPA: Vite 8 is 5x faster December 6, 2025 Bun
Parse a CSV file with Bun September 13, 2023 Bun
Related by keyword:
gg commit with suggested --no-verify August 29, 2025 Bun
Optimizing Bun compiled binary for gg2 January 13, 2026 Bun, TypeScript
gg2 is now installable with Homebrew December 8, 2025 Bun, TypeScript
gg2 branches got 50% faster by a Promise.all February 16, 2026 JavaScript, Bun, TypeScript