1.2.0 • Published 6 years ago

@futuresoftware/performance-timer v1.2.0

Weekly downloads
7
License
ISC
Repository
github
Last release
6 years ago

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();
1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago