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

Unified Diff: telemetry/telemetry/internal/results/chart_json_output_formatter.py

Issue 2142293002: [Telemetry] Also merge across tir_labels for TBM (Closed) Base URL: git@github.com:catapult-project/catapult.git@master
Patch Set: Fix failing tests Created 4 years, 4 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 | telemetry/telemetry/internal/results/output_formatter.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/results/chart_json_output_formatter.py
diff --git a/telemetry/telemetry/internal/results/chart_json_output_formatter.py b/telemetry/telemetry/internal/results/chart_json_output_formatter.py
index 28b2d1b325d9a83a7a6ff304eee8964415f9f1dd..9d95415720f09c00b5cf8278aa65a449956f23f0 100644
--- a/telemetry/telemetry/internal/results/chart_json_output_formatter.py
+++ b/telemetry/telemetry/internal/results/chart_json_output_formatter.py
@@ -7,7 +7,6 @@ import itertools
import json
from telemetry.internal.results import output_formatter
-from telemetry.value import summary as summary_module
from telemetry.value import trace
def ResultsAsChartDict(benchmark_metadata, page_specific_values,
@@ -31,9 +30,8 @@ def ResultsAsChartDict(benchmark_metadata, page_specific_values,
Returns:
A Chart JSON dict corresponding to the given data.
"""
- summary = summary_module.Summary(page_specific_values)
values = itertools.chain(
- summary.interleaved_computed_per_page_values_and_summaries,
+ output_formatter.SummarizePageSpecificValues(page_specific_values),
summary_values)
charts = collections.defaultdict(dict)
« no previous file with comments | « no previous file | telemetry/telemetry/internal/results/output_formatter.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698