Title: [183890] trunk/Websites/perf.webkit.org
- Revision
- 183890
- Author
- rn...@webkit.org
- Date
- 2015-05-06 14:50:11 -0700 (Wed, 06 May 2015)
Log Message
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):
Modified Paths
Diff
Modified: trunk/Websites/perf.webkit.org/ChangeLog (183889 => 183890)
--- trunk/Websites/perf.webkit.org/ChangeLog 2015-05-06 21:36:02 UTC (rev 183889)
+++ trunk/Websites/perf.webkit.org/ChangeLog 2015-05-06 21:50:11 UTC (rev 183890)
@@ -1,3 +1,18 @@
+2015-05-06 Ryosuke Niwa <rn...@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 <rn...@webkit.org>
Build fix after r183232.
Modified: trunk/Websites/perf.webkit.org/public/js/helper-classes.js (183889 => 183890)
--- trunk/Websites/perf.webkit.org/public/js/helper-classes.js 2015-05-06 21:36:02 UTC (rev 183889)
+++ trunk/Websites/perf.webkit.org/public/js/helper-classes.js 2015-05-06 21:50:11 UTC (rev 183890)
@@ -161,7 +161,8 @@
'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() {
Modified: trunk/Websites/perf.webkit.org/public/v2/data.js (183889 => 183890)
--- trunk/Websites/perf.webkit.org/public/v2/data.js 2015-05-06 21:36:02 UTC (rev 183889)
+++ trunk/Websites/perf.webkit.org/public/v2/data.js 2015-05-06 21:50:11 UTC (rev 183890)
@@ -408,14 +408,15 @@
'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)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes