Bun VS Node Performance #9767
Replies: 4 comments 2 replies
-
Please provide a reproduction example. The screenshot is not helpful on its own |
Beta Was this translation helpful? Give feedback.
-
Sure, here is the code
|
Beta Was this translation helpful? Give feedback.
-
“Do nothing” is useless benchmark that means nothing. |
Beta Was this translation helpful? Give feedback.
-
Hi @NarHakobyan! Thanks for taking the time to post the issue. Microbenchmarks are notoriously hard to get right with something actionable. JS engines on their own optimize for various benchmarks (some micro). An empty loop may be one of those cases. We are on the lookout for scenarios and opportunities for Bun to improve so please keep them coming. |
Beta Was this translation helpful? Give feedback.
-
Hey everyone, I always thought bun is faster then node but running the same code in bun and node bun was slower, am I missing something or performance effects only on http server?
Beta Was this translation helpful? Give feedback.
All reactions