Package to calculate the difference between two process hrtime
npm install --save difference-hrtime
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]