Skip to content

package to calculate the difference between two process hrtime

License

Notifications You must be signed in to change notification settings

abellsmythe/difference-hrtime

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

License

Stars

Watchers

Forks

Packages

No packages published