index.js
function meaningfulTime() {
  if (moduleRef) {
    var parts = processRef.hrtime();
    return (((parts[0]*1000)+(parts[1]/1000000))%10000).toFixed(2) + 'ms';
  } else {
    return performance.now().toFixed(2)+'ms';
  }
}
function meaningfulTime() {
  if (moduleRef) {
    var parts = processRef.hrtime();
    return (((parts[0]*1000)+(parts[1]/1000000))%10000).toFixed(2) + 'ms';
  } else {
    return performance.now().toFixed(2)+'ms';
  }
}
function meaningfulTime ( ) { if ( moduleRef ) { var parts = processRef . hrtime ( ) ; return ( ( ( parts [ 0 ] * 1000 ) + ( parts [ 1 ] / 1000000 ) ) % 10000 ) . toFixed ( 2 ) + 'ms' ; } else { return performance . now ( ) . toFixed ( 2 ) + 'ms' ; } }
Get a sub-millisecond timing thats actually readable
Get a sub - millisecond timing thats actually readable