
"Bun inventor Jared Sumner claims that the runtime uses 5 percent less memory, and that an upgraded memory allocator along with an implementation of Libpas scavenger returns unused memory to the operating system faster."
"According to Sumner, these two changes reduce baseline memory usage and fix a class of hangs and crashes in long-running processes."
"Bun is not stable enough for production nor faster than Node in production, for which he blamed memory leaks."
"Developers working with Bun as a toolkit may not notice this, but using it as a production runtime means long running workloads amplifying problems that short benchmarks never reveal."
Bun JavaScript runtime version 1.1.13 introduces enhanced testing support and improved memory management. The new test runner is compatible with Jest, featuring isolate and parallel flags for better test execution. Compression has been optimized using zlib-ng, achieving faster performance. The update addresses memory issues, with claims of 5 percent less memory usage and faster return of unused memory to the OS. These improvements aim to resolve common complaints about excessive memory use and stability in production environments.
Read at Theregister
Unable to calculate read time
Collection
[
|
...
]