performance-check

1.0.2 • Public • Published

This is an performance check package.

This time consume function require two parameter, one is start time and other end of time, and these can be between line of code, where time consume need to be check

function prinCount(count) { let startTime = new Date(); for (let i = 1; i <= count; i++) { console.log(i); } let endTime = new Date(); console.log('End Time in ms: ',timeConsume(startTime, endTime)); } console.log(prinCount(100))

It use to check time consume from start of the statment to end of the statment

Package Sidebar

Install

npm i performance-check

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

918 B

Total Files

3

Last publish

Collaborators

  • dharmendra.saini