Bun 1.4 Rust rewrite delivers 60% faster startup and 46% lower memory use
Bun 1.4, released on 20 August, is the first stable version built on a new Rust-based core, replacing the Zig runtime used since version 1.0. Independent benchmarks comparing Bun 1.3.14 and 1.4.2 on the same machine found script startup time dropped from a median of 10.54ms to 4.22ms, a roughly 60% improvement. Idle memory consumption also fell significantly, averaging 34.9MB on the older version versus 19.0MB on the new one, a 46% reduction. Throughput testing with 50 concurrent connections showed the new version handled approximately 2.15 times more requests per second. However, the release notes' claim of 5x less idle CPU was not fully supported by measurements, which showed a 2.5x reduction instead.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in