DEV Community

Discussion on: A first look at Bun: is it really 3x faster than Node.js and Deno?

 
steve8708 profile image
Steve Sewell

Here are the results before and after - before is on (I believe) Deno 1.24, after is on Deno 1.25 with experimental mode github.com/BuilderIO/framework-ben...

But what I’m trying to say is the server speed is not usually the main bottleneck for a real world application. Most CPU cycles are spent on the business logic of the application, rather than the details of the server implementation

Thread Thread
 
steve8708 profile image
Steve Sewell

All that said all of the code is open source so you are more than welcome to replicate the results yourself too in any way you like and/or send PRs for feedback and improvements

Thread Thread
 
kostyfisik profile image
Konstantin Ladutenko

Deno and Bun are almost twice as fast as Node for your app... with no change in business logic for all cases. So your results do not support the claim, that "Most CPU cycles are spent on the business logic". Is it possible somehow to profile, where main CPU power really goes?