arewefaster

0.0.8 • Public • Published

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

Package Sidebar

Install

npm i arewefaster

Weekly Downloads

5

Version

0.0.8

License

MIT

Last publish

Collaborators

  • danylaporte