melonjs / melonJS

a fresh, modern & lightweight HTML5 game engine
https://melonjs.org
MIT License
5.92k stars 643 forks source link

[Feature request] Port the WebGL benchmark #1144

Closed L1lith closed 1 year ago

L1lith commented 2 years ago

It would be cool to have some performance metrics against other frameworks. Maybe we should port melonJS to this comparison suite. We could even open a PR on that project.

obiot commented 1 year ago

@L1lith have you seen this : https://github.com/Shirajuki/js-game-rendering-benchmark

melonJS does not do bad, while the bigger engines like pixi or phaser keep running at 60fps up to 10'000 sprites, melonJS starts to go down to 45fps at 10'000.

on draw operations though, we are better than phaser, interesting !

No to shabby honestly, and nothing to be ashamed of, but definitely room for optimisation!

obiot commented 1 year ago

I'm going to close this one, as we do have now a test that shows/compares the performances of melonJS.

This also shows the current limit of melonJS, especially on primitive (shape) drawing, and for that I created this new ticket : #1172