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

Unified Diff: tools/perf/metrics/media.py

Issue 91623004: Add media perf benchamrk under network simulations. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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 | « tools/perf/benchmarks/media.py ('k') | tools/perf/page_sets/media_cns_cases.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/metrics/media.py
diff --git a/tools/perf/metrics/media.py b/tools/perf/metrics/media.py
index 14e8920f35175839f3b8d0398c05148d8dda1c4f..031369d4a5fd102c63a82e4b8feaa7a3ffb23ca2 100644
--- a/tools/perf/metrics/media.py
+++ b/tools/perf/metrics/media.py
@@ -58,7 +58,7 @@ class MediaMetric(Metric):
for m in metrics:
if m.startswith(metric):
special_label = m[len(metric):]
- results.Add(trace + special_label, unit, metrics[m],
+ results.Add(trace + special_label, unit, float(metrics[m]),
shadi 2013/11/27 19:58:11 Not needed once https://codereview.chromium.org/83
chart_name=metric, data_type='default')
trace = media_metric['id']
« no previous file with comments | « tools/perf/benchmarks/media.py ('k') | tools/perf/page_sets/media_cns_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698