Skip to content
This repository

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…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 runner
Octocat-spinner-32 vendor
Octocat-spinner-32 MIT-LICENSE.txt
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 bench-example.js
Octocat-spinner-32 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.