Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: tools/perf/benchmarks/blink_perf.py

Issue 379563003: Convert blink_perf.py to use results.AddValue(..) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/blink_perf.py
diff --git a/tools/perf/benchmarks/blink_perf.py b/tools/perf/benchmarks/blink_perf.py
index 21ce39f5b5d15770c3772737fd5e0042fe8c74f9..5295af01af16ce5c839e13336ac90163528b9997 100644
--- a/tools/perf/benchmarks/blink_perf.py
+++ b/tools/perf/benchmarks/blink_perf.py
@@ -8,6 +8,7 @@ from telemetry import benchmark
from telemetry.core import util
from telemetry.page import page_measurement
from telemetry.page import page_set
+from telemetry.value import list_of_scalar_values
def _CreatePageSetFromPath(path):
@@ -88,7 +89,9 @@ class _BlinkPerfMeasurement(page_measurement.PageMeasurement):
values = [float(v.replace(',', '')) for v in parts[1:-1]]
units = parts[-1]
metric = page.display_name.split('.')[0].replace('/', '_')
- results.Add(metric, units, values)
+ results.AddValue(list_of_scalar_values.ListOfScalarValues(
+ results.current_page, metric, units, values))
+
break
print log
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698