bench-it

0.4.0 • Public • Published

bench-it

Simple benchmark runner.

Install

Install with npm.

npm install -g bench-it

Create a module with a function to benchmark

A benchmark is a module that exports a test function.

Example simple.js benchmark:

exports.test = function() {
  // function to benchmark
};

Establish a benchmark

bench simple.js

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.4.0
    8
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.4.0
    8
  • 0.3.0
    1
  • 0.2.0
    2
  • 0.1.0
    3

Package Sidebar

Install

npm i bench-it

Weekly Downloads

14

Version

0.4.0

License

MIT

Last publish

Collaborators

  • tschaub