benchie
v0.0.1
Published
A simple benchmark library for JavaScript
Downloads
4
Readme
Benchie JS (WIP)
A simple benchmark library for JavaScript
##Usage
npm install benchie
Simple Example:
Benchmark = require("benchie").Benchmark
var test = new Benchmark( "My Bench Test", function() {
// some code to test
var i = 2 * 2;
});
test.run();
# outputs
My Bench Test 221,982,195 x Avg ops per second
My Bench Test 262,144,000 x Median ops per second
##Benchmark Options
History
You can discover the history inside the History.md
file
Contributing
You can discover the contributing instructions inside the Contributing.md
file
License
Licensed under the incredibly permissive MIT License Copyright © 2013+ Stringz Solutions Ltd Copyright © 2013+ Peter Flannery