lib/utils/stopwatch.js
function stop(id, formatted) {
  const elapsed = timers[id].elapsed + msDiff(process.hrtime(), timers[id].start);

  clear(id);
  return formatted ? format(elapsed) : elapsed;
}
function stop(id, formatted) {
  const elapsed = timers[id].elapsed + msDiff(process.hrtime(), timers[id].start);

  clear(id);
  return formatted ? format(elapsed) : elapsed;
}
function stop ( id , formatted ) { const elapsed = timers [ id ] . elapsed + msDiff ( process . hrtime ( ) , timers [ id ] . start ) ; clear ( id ) ; return formatted ? format ( elapsed ) : elapsed ; }
Stop timer with 'id' and return elapsed
@param {String} id
@param {Boolean} formatted
@returns {Number}
Stop timer with id and return elapsed