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

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

Issue 84483002: [telemetry] Fix types and type checks of numeric results. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | tools/perf/metrics/media.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/dromaeo.py
diff --git a/tools/perf/benchmarks/dromaeo.py b/tools/perf/benchmarks/dromaeo.py
index e8c6cc37a2eb89ffc4e74a07486cf211fafaca05..2bb0ab8cf9e8181e3eb66e08019b0dd026334963 100644
--- a/tools/perf/benchmarks/dromaeo.py
+++ b/tools/perf/benchmarks/dromaeo.py
@@ -30,7 +30,7 @@ class _DromaeoMeasurement(page_measurement.PageMeasurement):
data_type = 'unimportant'
if k == suffix:
data_type = 'default'
- results.Add(Escape(k), 'runs/s', v, data_type=data_type)
+ results.Add(Escape(k), 'runs/s', float(v), data_type=data_type)
class _DromaeoBenchmark(test.Test):
« no previous file with comments | « no previous file | tools/perf/metrics/media.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698