jeromeetienne / benchrunner

standalone UI on top of benchmark.js

Home Page:http://jeromeetienne.github.com/benchrunner#runall

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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();
    });
});

About

standalone UI on top of benchmark.js

http://jeromeetienne.github.com/benchrunner#runall

License:MIT License


Languages

Language:JavaScript 56.9%Language:CSS 24.9%Language:HTML 14.8%Language:Makefile 3.4%