nperf
A minimalistic performance measurement util for Node.js.
Install
npm install nperf
Usage
Just require nperf and define your test cases.
const nperf = ; ;
Console output
Spread-Operator vs. Array.prototype.concat
1. Array.prototype.concat 2x (avg ~139.490ns)
2. Spread-Operator 1x (avg ~276.843ns)
API
TBD
Running tests
npm test
Coverage
npm install istanbul -g
npm run coverage
License
Released under the MIT license.