Open finscn opened 2 years ago
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
planck.js : 17 FPS
matter.js : 43 FPS
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 |
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