2 hours ago · Tech · hide · 0 comments

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 ....

No comments yet. Log in to reply on the Fediverse. Comments will appear here.