Benchmark (box2d.jsx) - jsx/JSX GitHub Wiki
Steps required for taking the benchmark of Box2D.jsx.
-
download
$ git clone https://github.com/tkihira/box2djsx
-
compile the JSX version
$ cd box2djsx/sample $ make
-
open box2djsx/sample/index.html using your favorite web browser
-
(after 10 seconds) the average fps will be reported in the console.
Open js/index.html from the web browser, and see the console 10 seconds later.