2 ms·
> Here's a comparison of a simple job. With lots of concurrency, Bun is 20-30% faster, but uses 60% more memory. That benchmark is out of date. In Bun v0.3, me
by Jarred 4y ago
> Here's a comparison of a simple job. With lots of concurrency, Bun is 20-30% faster, but uses 60% more memory.
That benchmark is out of date. In Bun v0.3, memory usage in situations like that dropped by 4x - https://bun.sh/blog/bun-v0.3.0 https://bun.sh/blog/bun-v0.3.0, meaning it uses around half as much memory as Node.
Prior to Bun v0.3, Bun wasn't scheduling the garbage collector in conjunction with the event loop and that led to memory not being reclaimed correctly on idle
- culi 4y agoThis comparison uses Bun v0.4 and still often finds Deno ahead https://medium.com/deno-the-complete-reference/node-js-vs-deno-vs-bun-server-side-rendering-performance-comparison-f80a5abc766f https://medium.com/deno-the-complete-reference/node-js-vs-de...