I have a little snippet of node.js code in front of me that looks like this:
console.time(\"queryTime\"); doAsyncIOBoundThing(function(err, results) { consol
Consider new NodeJS features as it has evolved too. Please look into:
process.hrtime() & NodeJS's other performance API hooks:
process.hrtime()
https://nodejs.org/api/perf_hooks.html#perf_hooks_performance_timing_api