src/debug/timer.js
function logStat(stat, value) {
  if (!statsTracker[stat]) {
    statsTracker[stat] = [];
  }
  statsTracker[stat].push(value);
  clearTimeout(statsTimer);
  statsTimer = setTimeout(printStats, 100);
}
function logStat(stat, value) {
  if (!statsTracker[stat]) {
    statsTracker[stat] = [];
  }
  statsTracker[stat].push(value);
  clearTimeout(statsTimer);
  statsTimer = setTimeout(printStats, 100);
}
function logStat ( stat , value ) { if ( ! statsTracker [ stat ] ) { statsTracker [ stat ] = [ ] ; } statsTracker [ stat ] . push ( value ) ; clearTimeout ( statsTimer ) ; statsTimer = setTimeout ( printStats , 100 ) ; }
Add data point to stats

@param  {String} stat  Full name of the stat
@param  {Number} value Run time to track
Add data point to stats