Index: tools/perf/benchmarks/dom_perf.py |
diff --git a/tools/perf/benchmarks/dom_perf.py b/tools/perf/benchmarks/dom_perf.py |
index b16047aa9c4f1b774d2d5dfca31072b587360d15..afb98e633a894980a384f067fad34d6712af684b 100644 |
--- a/tools/perf/benchmarks/dom_perf.py |
+++ b/tools/perf/benchmarks/dom_perf.py |
@@ -52,8 +52,9 @@ class _DomPerfMeasurement(page_measurement.PageMeasurement): |
for suite in data['BenchmarkSuites']: |
# 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') |
+ results.AddValue(scalar.ScalarValue( |
+ results.current_page, '%s.%s' % (suite['name'], SCORE_TRACE_NAME), |
+ SCORE_UNIT, suite['score'], important=False)) |
finally: |
tab.EvaluateJavaScript('document.cookie = "__domperf_finished=0"') |