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

Unified Diff: tools/telemetry/telemetry/page_benchmark_results.py

Issue 11824026: Unbreak memory_benchmark some more. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/telemetry/telemetry/page_benchmark_results.py
diff --git a/tools/telemetry/telemetry/page_benchmark_results.py b/tools/telemetry/telemetry/page_benchmark_results.py
index 0d729fdff865c169f8b4ee2a3140ca16bd6d27d9..8f1a0c1510a4224d33316cfe79d2187518dab223 100644
--- a/tools/telemetry/telemetry/page_benchmark_results.py
+++ b/tools/telemetry/telemetry/page_benchmark_results.py
@@ -117,7 +117,10 @@ class PageBenchmarkResults(PageTestResults):
measurement_units_type = (measurement_name,
value.units,
value.data_type)
- value_url = (value.output_value, page_values.page.url)
+ if value.data_type == 'histogram':
+ value_url = (value.value, page_values.page.url)
+ else:
+ value_url = (value.output_value, page_values.page.url)
results_summary[measurement_units_type].append(value_url)
# Output the results summary sorted by name, then units, then data type.
@@ -146,4 +149,3 @@ class PageBenchmarkResults(PageTestResults):
if not data_type == 'histogram':
values = [i[0] for i in value_url_list]
self._PrintPerfResult(measurement, trace, values, units, data_type)
-
« 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