+2014-05-09 Ryosuke Niwa <rniwa@webkit.org>
+
+ DYEBench should show 95th percentile right next to the mean with ±
+ https://bugs.webkit.org/show_bug.cgi?id=132729
+
+ Reviewed by Darin Adler.
+
+ Before this patch, Full.html showed the 95th percentile delta for the arthemtic mean in a separate row
+ but this was confusing for some people. Show it right next to mean in the same row separated by ±.
+
+ * DoYouEvenBench/Full.html:
+
2014-05-08 Ryosuke Niwa <rniwa@webkit.org>
DYEBench should use TodoMVC to test FlightJS for consistency
didFinishLastIteration: function () {
var sum = values.reduce(function (a, b) { return a + b; }, 0);
var arithmeticMean = sum / values.length;
- addResult('Arithmetic Mean', arithmeticMean.toFixed(2) + 'ms');
+ var meanLabel = arithmeticMean.toFixed(2) + ' ms';
if (window.Statistics) {
var delta = Statistics.confidenceIntervalDelta(0.95, values.length, sum, Statistics.squareSum(values));
var precentDelta = delta * 100 / arithmeticMean;
- addResult('95th Percentile', delta.toFixed(2) + ' ms (' + precentDelta.toFixed(2) + '%)');
+ meanLabel += ' \xb1 ' + delta.toFixed(2) + ' ms (' + precentDelta.toFixed(2) + '%)';
}
+ addResult('Arithmetic Mean', meanLabel);
progressContainer.parentNode.removeChild(progressContainer);
}
}