do-you-even-bench
1.0.5 • Public • Published
require('do-you-even-bench')([
{ name: 'test 1', fn: function() { ... } },
{ name: 'test 2', fn: function() { ... } },
{ name: 'test 3', fn: function() { ... } },
]);
require('do-you-even-bench', [
{
name: 'test 1',
setup: function() {
var data = calcuateData();
},
fn: function() {
expensiveThing(data);
}
},
]);
curl http://git.io/vZtJK > index.html
browserify <file-containing-test.js> > out.js
open index.html
Dependencies (1)
Dev Dependencies (0)
Package Sidebar
Install
Weekly Downloads