hunterloftis / newton

A playful, particle-based physics engine designed from the ground up for JavaScript.
917 stars 49 forks source link

benchmark: trying to use benchmark.js to test performance #12

Closed floatdrop closed 10 years ago

floatdrop commented 10 years ago

Test particles performance with benchmark.js

1000 particles (this will give maximum ops/sec with 60 fps) x 7.82 ops/sec ±0.77% (42 runs sampled)
10000 particles x 7.69 ops/sec ±3.04% (40 runs sampled)
20000 particles x 4.49 ops/sec ±4.15% (25 runs sampled)
50000 particles x 2.03 ops/sec ±15.17% (13 runs sampled)
floatdrop commented 10 years ago

Closed. I like https://github.com/hunterloftis/newton/pull/18 more.