packages/mip/src/performance.js
function getTiming () {
  let nativeTiming
  let performance = window.performance
  if (performance && performance.timing) {
    nativeTiming = performance.timing.toJSON
      ? performance.timing.toJSON()
      : util.fn.extend({}, performance.timing)
  } else {
    nativeTiming = {}
  }
  return util.fn.extend(nativeTiming, recorder)
}
function getTiming () {
  let nativeTiming
  let performance = window.performance
  if (performance && performance.timing) {
    nativeTiming = performance.timing.toJSON
      ? performance.timing.toJSON()
      : util.fn.extend({}, performance.timing)
  } else {
    nativeTiming = {}
  }
  return util.fn.extend(nativeTiming, recorder)
}
function getTiming ( ) { let nativeTiming let performance = window . performance if ( performance && performance . timing ) { nativeTiming = performance . timing . toJSON ? performance . timing . toJSON ( ) : util . fn . extend ( { } , performance . timing ) } else { nativeTiming = { } } return util . fn . extend ( nativeTiming , recorder ) }
Get the timings.

@return {Object}
Get the timings .