1.1.2 • Published 5 years ago

time-inspector v1.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

time-inspector

MIT License Build Status

NPM status

NodeJS time inspector allowing very easy detection of bottlenecks.

install

npm i --save-dev time-inspector

usage

const time = require('time-inspector').default;

time(); // for the first call it returns 0
foo();
console.log(time()); // it returns the time (in seconds with nanoseconds precision) elapsed from the previous call
bar();
console.log(time()); // again it returns the time elapsed from the previous call
1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago