arewefaster
v0.0.8
Published
Benchmark functions and compare result with other implementation over time
Downloads
4
Maintainers
Readme
arewefaster
Benchmark functions and compare result with other implementation over time.
Installation
$ npm install arewefaster
##Usage
command-line
$ arewefaster [options] <files>
api
var arewefaster = require('arewefaster');
arewefaster(suite, function (err, result) {
});
interface
suite('Benchmarking timeouts', function() {
test('setTimeout of 1ms', function (done) {
setTimeout(done, 1);
});
test('setTimeout of 2ms', function (done) {
setTimeout(done, 2);
});
});
Documentation
License
The MIT License (MIT)
Copyright (c) 2015 Dany Laporte