Perf dashboard treats Speedometer and JetStream as smaller is better
[WebKit-https.git] / Websites / perf.webkit.org / public / v2 / data.js
index 83a1badefcce9a92a9e960eff3160dafc41651ca..4f4f89156dd0d20cc03fcaecd0bcb58fcd581f6b 100755 (executable)
@@ -408,14 +408,15 @@ RunsData.unitFromMetricName = function (metricName)
         '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)