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

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

Issue 876063004: [Telemetry] fix maps.py benchmark (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/maps.py
diff --git a/tools/perf/benchmarks/maps.py b/tools/perf/benchmarks/maps.py
index 5af2495f4cfb251a1d39d2b6de360542c70f4a99..66b1599e966f72b27a70b2977b52fca518ce461a 100644
--- a/tools/perf/benchmarks/maps.py
+++ b/tools/perf/benchmarks/maps.py
@@ -28,9 +28,9 @@ class _MapsMeasurement(page_test.PageTest):
total = re.search('total=([0-9]+)', test_results).group(1)
render = re.search('render=([0-9.]+),([0-9.]+)', test_results).group(2)
results.AddValue(scalar.ScalarValue(
- results.current_page, 'total_time', 'ms', total))
+ results.current_page, 'total_time', 'ms', int(total)))
results.AddValue(scalar.ScalarValue(
- results.current_page, 'render_mean_time', 'ms', render))
+ results.current_page, 'render_mean_time', 'ms', float(render)))
class MapsPage(page_module.Page):
def __init__(self, page_set, base_dir):
« 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