Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I've updated my benchmark for 3 active js Physics Engines. #81

Open
finscn opened this issue Nov 4, 2021 · 2 comments
Open

I've updated my benchmark for 3 active js Physics Engines. #81

finscn opened this issue Nov 4, 2021 · 2 comments

Comments

@finscn
Copy link
Contributor

finscn commented Nov 4, 2021

I've updated my benchmark for 3 active js Physics Engines.
This benchmark is very very simple and basic .
But I think it has already could tell us something .

https://finscn.github.io/phy-benchmark/

Good news , box2d.ts is still the best one

@8Observer8
Copy link

Asus K53SV; 8 GB RAM, i3 2.2 GHertz (2 cores); Intel HD Graphics 3000; Nvidia Geforce GT 540M (1 GB); Windows 10

  • box2d.ts : 27 FPS
    image

  • planck.js : 17 FPS
    image

  • matter.js : 43 FPS
    image

@8Observer8
Copy link

I found another benchmark here: https://lusito.github.io/box2d.ts/benchmark/

I tested with laptop ASUS K53SV:

Browser: Chrome 104

Name avg ms/frame 5th %ile 95th %ile Ratio
box2d.js 7.53 8.099999904632568 13.600000143051147 1.00
box2d-web 14.19 15.5 12.599999904632568 1.89
@box2d/core 20.95 21.299999952316284 16.799999952316284 2.78
box2d-html5 27.44 28.200000047683716 26.399999856948853 3.65
@flyover/box2d 39.47 41.799999952316284 38 5.24
planck.js 56.85 61 44.799999952316284 7.55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants