difference-hrtime
v1.0.0
Published
package to calculate the difference between two process hrtime
Downloads
5
Readme
difference-hrtime
Package to calculate the difference between two process hrtime
Install
npm install --save difference-hrtime
Usage
const process = require('process');
const diff = require('difference-hrtime').default;
const start = process.hrtime();
// Do something
const end = process.hrtime();
console.log('Difference', diff(start, end));
// expected output: [number, number]