Skip to content

Repository files navigation

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]

License

MIT

Author

Alton Bell Smythe Toncho Dev

About

package to calculate the difference between two process hrtime

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages