Skip to content

bbreukelen/performance-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Performance Timer

performance-timer, is a tiny class that allows you to debug code and see where the most time is consumed.
After calling the stop method, a summary is provided with the defined steps and their consumed times.

Install

$ npm install performance-timer  

Usage

const pt = require('performance-timer');  
pt.start();
pt.log("Step 1 completed");
pt.log("Step 2 completed");
pt.stop();

About

To be used to measure the time each step in a process takes. Gives a nice summary at completion.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published