packages/mip/src/performance.js
function recordTiming (name, timing) {
  recorder[name] = parseInt(timing, 10) || Date.now()
  performanceEvent.trigger('update', getTiming())
}
function recordTiming (name, timing) {
  recorder[name] = parseInt(timing, 10) || Date.now()
  performanceEvent.trigger('update', getTiming())
}
function recordTiming ( name , timing ) { recorder [ name ] = parseInt ( timing , 10 ) || Date . now ( ) performanceEvent . trigger ( 'update' , getTiming ( ) ) }
Record timing by name.

@param {string} name Name of the timing.
@param {?number} timing timing
Record timing by name .