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

Issue 439613003: Add Chart JSON processing to Telemetry. (Closed)

Created:
6 years, 4 months ago by eakuefner
Modified:
6 years, 4 months ago
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add Chart JSON processing to Telemetry. This patch implements Chart JSON for Telemetry, which represents a JSON format specifically for conveying data to Buildbot to be sent to the perf dashboard in charted/summarized form. Consult go/telemetry-json for further specs on this format. This is an 0.1 since the overall metadata and description portions of the format are still in flux. BUG=399970 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291185

Patch Set 1 #

Patch Set 2 : First pass at chart JSON format #

Patch Set 3 : + simple unittest; output formatter runs #

Patch Set 4 : Different approach + more comprehensive unittests #

Total comments: 23

Patch Set 5 : Address most of Nat's comments #

Total comments: 36

Patch Set 6 : Address Chris's comments + rebase + sort out failure issue #

Total comments: 8

Patch Set 7 : Address Chris's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -36 lines) Patch
M tools/telemetry/telemetry/results/buildbot_output_formatter.py View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
A tools/telemetry/telemetry/results/chart_json.py View 1 2 3 4 5 6 1 chunk +57 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/results/chart_json_unittest.py View 1 2 3 4 5 6 1 chunk +117 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/results/json_output_formatter.py View 1 2 3 4 5 6 2 chunks +19 lines, -9 lines 0 comments Download
M tools/telemetry/telemetry/results/json_output_formatter_unittest.py View 1 2 3 4 5 5 chunks +15 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/results/results_options.py View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/value/__init__.py View 1 2 3 4 5 3 chunks +11 lines, -11 lines 0 comments Download
M tools/telemetry/telemetry/value/failure.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/value/failure_unittest.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/value/scalar_unittest.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/value/skip.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/value/skip_unittest.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/value/string_unittest.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/value/value_unittest.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
eakuefner
6 years, 4 months ago (2014-08-12 01:08:26 UTC) #1
nduca
some thoughts. lookin good https://codereview.chromium.org/439613003/diff/60001/tools/telemetry/telemetry/chart_json.py File tools/telemetry/telemetry/chart_json.py (right): https://codereview.chromium.org/439613003/diff/60001/tools/telemetry/telemetry/chart_json.py#newcode1 tools/telemetry/telemetry/chart_json.py:1: # Copyright 2014 The Chromium ...
6 years, 4 months ago (2014-08-12 02:18:08 UTC) #2
tonyg
I'm happy once Nat is.
6 years, 4 months ago (2014-08-12 02:23:23 UTC) #3
eakuefner
On the overall note of handling and unittesting with failures: it's not clear to me ...
6 years, 4 months ago (2014-08-12 21:18:41 UTC) #4
nduca
lgtm but please make it do what you think is right wrt failure. https://codereview.chromium.org/439613003/diff/80001/tools/telemetry/telemetry/results/results_options.py File ...
6 years, 4 months ago (2014-08-13 00:55:39 UTC) #5
eakuefner
https://codereview.chromium.org/439613003/diff/80001/tools/telemetry/telemetry/value/chart_json.py File tools/telemetry/telemetry/value/chart_json.py (right): https://codereview.chromium.org/439613003/diff/80001/tools/telemetry/telemetry/value/chart_json.py#newcode21 tools/telemetry/telemetry/value/chart_json.py:21: # had_failures = len(page_test_results.failures) > 0 On 2014/08/13 00:55:39, ...
6 years, 4 months ago (2014-08-13 01:03:43 UTC) #6
nednguyen
lgtm https://codereview.chromium.org/439613003/diff/80001/tools/telemetry/telemetry/value/chart_json.py File tools/telemetry/telemetry/value/chart_json.py (right): https://codereview.chromium.org/439613003/diff/80001/tools/telemetry/telemetry/value/chart_json.py#newcode20 tools/telemetry/telemetry/value/chart_json.py:20: """ Assert summary_values contains "all values without an ...
6 years, 4 months ago (2014-08-13 02:17:03 UTC) #7
chrishenry - DO NOT USE
https://codereview.chromium.org/439613003/diff/80001/tools/telemetry/telemetry/results/json_output_formatter.py File tools/telemetry/telemetry/results/json_output_formatter.py (right): https://codereview.chromium.org/439613003/diff/80001/tools/telemetry/telemetry/results/json_output_formatter.py#newcode9 tools/telemetry/telemetry/results/json_output_formatter.py:9: def ResultsAsDict(page_test_results, metadata): metadata is very confusing. Can you ...
6 years, 4 months ago (2014-08-13 05:12:02 UTC) #8
eakuefner
Chris: PTAL; I've addressed your comments with discussion on some of them below. Others: I ...
6 years, 4 months ago (2014-08-15 22:47:33 UTC) #9
chrishenry
lgtm https://codereview.chromium.org/439613003/diff/80001/tools/telemetry/telemetry/value/chart_json.py File tools/telemetry/telemetry/value/chart_json.py (right): https://codereview.chromium.org/439613003/diff/80001/tools/telemetry/telemetry/value/chart_json.py#newcode7 tools/telemetry/telemetry/value/chart_json.py:7: def ResultsAsChartDict(page_specific_values, summary_values, metadata): On 2014/08/15 22:47:32, eakuefner ...
6 years, 4 months ago (2014-08-19 17:36:22 UTC) #10
eakuefner
https://codereview.chromium.org/439613003/diff/80001/tools/telemetry/telemetry/value/chart_json.py File tools/telemetry/telemetry/value/chart_json.py (right): https://codereview.chromium.org/439613003/diff/80001/tools/telemetry/telemetry/value/chart_json.py#newcode7 tools/telemetry/telemetry/value/chart_json.py:7: def ResultsAsChartDict(page_specific_values, summary_values, metadata): On 2014/08/19 17:36:21, chrishenry wrote: ...
6 years, 4 months ago (2014-08-21 01:11:17 UTC) #11
eakuefner
The CQ bit was checked by eakuefner@chromium.org
6 years, 4 months ago (2014-08-21 01:11:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eakuefner@chromium.org/439613003/120001
6 years, 4 months ago (2014-08-21 01:12:21 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-21 02:13:37 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-21 02:15:53 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/55475)
6 years, 4 months ago (2014-08-21 02:15:55 UTC) #16
eakuefner
The CQ bit was checked by eakuefner@chromium.org
6 years, 4 months ago (2014-08-21 17:09:17 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eakuefner@chromium.org/439613003/120001
6 years, 4 months ago (2014-08-21 17:10:28 UTC) #18
commit-bot: I haz the power
6 years, 4 months ago (2014-08-21 21:11:53 UTC) #19
Message was sent while issue was closed.
Committed patchset #7 (120001) as 291185

Powered by Google App Engine
This is Rietveld 408576698