You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realise comparing performance of Boa to Node, Deno, or Bun is unfair at such an early stage of the project. No doubt focus has been on feature completeness before performance. But it might also be useful (?) to have/track a test that is outside of specific benchmarks, something more real to life?
I have a repo consisting of multiple near-identical implementations of Conways Game of Life (https://github.com/KieranP/Game-Of-Life-Implementations) which I find serves as a good comparison of a languages current speed.
Here are the stats of the main 3 JS runtimes (measured in milliseconds):
Compared to Node averages, that puts Boa ~138x slower on tick operations (loop over map values, calculate next state, set current state to next state), and ~20x slower on render operations (loop over x*y, fetch cell from map, render character, concat into large string). Combined, Boa is currently 53x slower overall.
If it would be helpful, as each new major release of Boa comes out, I'll report back on what change any performance improvements have made, if any.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I realise comparing performance of Boa to Node, Deno, or Bun is unfair at such an early stage of the project. No doubt focus has been on feature completeness before performance. But it might also be useful (?) to have/track a test that is outside of specific benchmarks, something more real to life?
I have a repo consisting of multiple near-identical implementations of Conways Game of Life (https://github.com/KieranP/Game-Of-Life-Implementations) which I find serves as a good comparison of a languages current speed.
Here are the stats of the main 3 JS runtimes (measured in milliseconds):
By comparison, here is where Boa currently sites:
(unable to get total iterations because of #4493)
Compared to Node averages, that puts Boa ~138x slower on tick operations (loop over map values, calculate next state, set current state to next state), and ~20x slower on render operations (loop over x*y, fetch cell from map, render character, concat into large string). Combined, Boa is currently 53x slower overall.
If it would be helpful, as each new major release of Boa comes out, I'll report back on what change any performance improvements have made, if any.
Beta Was this translation helpful? Give feedback.
All reactions