Benchmark (box2d.jsx) - jsx/JSX GitHub Wiki

Steps required for taking the benchmark of Box2D.jsx.

  1. download

    $ git clone https://github.com/tkihira/box2djsx

  2. compile the JSX version

    $ cd box2djsx/sample $ make

  3. open box2djsx/sample/index.html using your favorite web browser

  4. (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.