Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
standalone UI on top of benchmark.js
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
runner
vendor
MIT-LICENSE.txt
Makefile
README.md
bench-example.js
index.html

README.md

benchrunner is a standalone UI on top of benchmark.js. It will run your benchmarks thru benchmark.js and display the result in a webpage such as this one.

The UI is widely inspired from mocha by TJ Holowaychuk.

It is add #runall to the runner url. The benchmarks will start as soon as the page is loaded.

You add your own suite at the end of the index.html so around here. Here is a sample benchmark bench-example. Here is an bench suite.

benchsuite('current time in ms', function(){
    bench('Date.now()', function() {
        Date.now()
    });
    bench('new Date().getTime()', function() {
        new Date().getTime();
    });
});
Something went wrong with that request. Please try again.