Index: tools/perf/benchmarks/dom_perf.py |
=================================================================== |
--- tools/perf/benchmarks/dom_perf.py (revision 222891) |
+++ tools/perf/benchmarks/dom_perf.py (working copy) |
@@ -11,6 +11,9 @@ |
from telemetry.page import page_measurement |
from telemetry.page import page_set |
+# Get build scripts into our path. |
+util.AddDirToPythonPath(util.GetChromiumSrcDir(), 'build', 'util', 'lib') |
+from common import perf_result_data_type # pylint: disable=F0401 |
def _GeometricMean(values): |
"""Compute a rounded geometric mean from an array of values.""" |
@@ -51,7 +54,8 @@ |
# Skip benchmarks that we didn't actually run this time around. |
if len(suite['Benchmarks']) or suite['score']: |
results.Add(SCORE_TRACE_NAME, SCORE_UNIT, |
- suite['score'], suite['name'], 'unimportant') |
+ suite['score'], suite['name'], |
+ perf_result_data_type.UNIMPORTANT) |
finally: |
tab.EvaluateJavaScript('document.cookie = "__domperf_finished=0"') |