Releases: svenkatreddy/execution-time
Releases · svenkatreddy/execution-time
V1.4.1
Named performance measurer
Added support for Named performance measurer
const perf = require('execution-time')();
//at beginning of your code, pass any name
perf.start('apiCall');
//at end of your code, pass the same name (anywhere in your flow)
const results = perf.stop('apiCall');
console.log(results.time); // in milliseconds
V 1.2.0
- update log methods