Bun is a modern JavaScript runtime that aims to be faster than Node.js. Tests comparing Bun and Node.js for a 'hello world' use case show that Bun is about 40-50% faster, but it uses double the memory. The measurements used to compare the performance include response time, CPU usage, and memory usage.

6m read timeFrom medium.com
Post cover image
Table of contents
IntroductionTest setupMeasurementsResultsConclusion
2 Comments

Sort: