add the number of runs per browser #645

This commit is contained in:
soulgalore 2015-04-16 15:00:49 +02:00
parent 2be92338f6
commit dd12953627
1 changed files with 6 additions and 0 deletions

View File

@ -49,6 +49,10 @@ GraphiteCollector.prototype._getPageStats = function(page) {
statistics += this._getGPSIStats(page, urlKey);
statistics += this._getWPTStats(page, urlKey);
statistics += this._getAssetsStats(page, urlKey);
// and add the number of runs, lets use to divide
statistics += this.namespace + '.' + urlKey + 'config.runs ' + this.config.no + this.timeStamp;
return statistics;
};
@ -111,6 +115,8 @@ GraphiteCollector.prototype._getBrowserTimeStats = function(page, urlKey) {
}
});
}
return statistics;
};