core/results.js
function(name, value) {
			if (typeof metricsAvgStorage[name] === 'undefined') {
				metricsAvgStorage[name] = [];
			}

			metricsAvgStorage[name].push(value);

			this.setMetric(name, getAverage(metricsAvgStorage[name]));
		}
function(name, value) {
			if (typeof metricsAvgStorage[name] === 'undefined') {
				metricsAvgStorage[name] = [];
			}

			metricsAvgStorage[name].push(value);

			this.setMetric(name, getAverage(metricsAvgStorage[name]));
		}
function ( name , value ) { if ( typeof metricsAvgStorage [ name ] === 'undefined' ) { metricsAvgStorage [ name ] = [ ] ; } metricsAvgStorage [ name ] . push ( value ) ; this . setMetric ( name , getAverage ( metricsAvgStorage [ name ] ) ) ; }
push a value and update the metric if the current average value
push a value and update the metric if the current average value