tape-benchmark
Benchmarking functions for tape
// Load tape into tape-benchmark:var test =
This module wraps benchmark
into tape
asserts. So there is no setup between the two, and you get the same logging with both.
Installation
$ npm install --save tape-benchmark
Usage
load(tape)
Load benchmark assertions onto tape
// Load like this:var test = // Or just like this:test
t.benchmark(name, [options], fn)
Run benchmark as an assertion. Passes with results, or fails with an error. Use t.bench
as a shorthand.
License
MIT © Jamen Marz