lib/render.js
function logTime(hrStart, uri) {
  return () => {
    const diff = process.hrtime(hrStart),
      ms = Math.floor((diff[0] * 1e9 + diff[1]) / 1000000);

    log('info', `composed data for: ${uri} (${ms}ms)`, {
      composeTime: ms,
      uri
    });
  };
}
function logTime(hrStart, uri) {
  return () => {
    const diff = process.hrtime(hrStart),
      ms = Math.floor((diff[0] * 1e9 + diff[1]) / 1000000);

    log('info', `composed data for: ${uri} (${ms}ms)`, {
      composeTime: ms,
      uri
    });
  };
}
function logTime ( hrStart , uri ) { return ( ) => { const diff = process . hrtime ( hrStart ) , ms = Math . floor ( ( diff [ 0 ] * 1e9 + diff [ 1 ] ) / 1000000 ) ; log ( 'info' , ` ${ uri } ${ ms } ` , { composeTime : ms , uri } ) ; } ; }
Log the timing for data composition

@param  {Object} hrStart
@param  {String} uri
@return {Function}
Log the timing for data composition