https://bugs.webkit.org/show_bug.cgi?id=144711
Reviewed by Chris Dumez.
Added the support for "Score" metric.
* public/js/helper-classes.js:
(PerfTestRuns):
* public/v2/data.js:
(RunsData.unitFromMetricName):
(RunsData.isSmallerBetter):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183890
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-05-06 Ryosuke Niwa <rniwa@webkit.org>
+
+ Perf dashboard treats Speedometer and JetStream as smaller is better
+ https://bugs.webkit.org/show_bug.cgi?id=144711
+
+ Reviewed by Chris Dumez.
+
+ Added the support for "Score" metric.
+
+ * public/js/helper-classes.js:
+ (PerfTestRuns):
+ * public/v2/data.js:
+ (RunsData.unitFromMetricName):
+ (RunsData.isSmallerBetter):
+
2015-04-23 Ryosuke Niwa <rniwa@webkit.org>
Build fix after r183232.
'Time': 'ms',
'Malloc': 'B',
'Heap': 'B',
- 'Allocations': 'B'}[suffix];
+ 'Allocations': 'B',
+ 'Score': 'pt'}[suffix];
// We can't do this in PerfTestResult because all results for each metric need to share the same unit and the same scaling factor.
function computeScalingFactorIfNeeded() {
'Time': 'ms',
'Malloc': 'bytes',
'Heap': 'bytes',
- 'Allocations': 'bytes'
+ 'Allocations': 'bytes',
+ 'Score': 'pt',
}[suffix];
return unit;
}
RunsData.isSmallerBetter = function (unit)
{
- return unit != 'fps' && unit != '/s';
+ return unit != 'fps' && unit != '/s' && unit != 'pt';
}
function TimeSeries(series)