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

Issue 551063005: [Telemetry] Fix handling for two-part per-page value names in Chart JSON. (Closed)

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

Description

[Telemetry] Fix handling for two-part per-page value names in Chart JSON. The perf dashboard expects that for values of the form x.y that are per-page, the computed summary x.y (i.e., the value having that name but not associated with any particular Page object) will be displayed but the per-page x.y's will be ignored. Previously, the per-page x.y's were being named as x: <pagename> in the buildbot convention; it was the job of the log processing step to make sure that these extraneous, ambiguously-named values were ignored. The Chart JSON output formatter, on the other hand, explicitly guards against adding values with duplicate names, and so extra checks are necessary to throw away such extraneous values. This patch adds handling to the Chart JSON output formatter to address this issue, and updates the tests to check for correctness in this scenario. R=sullivan,qyearsley,tonyg Committed: https://crrev.com/fd93e29f1f5d03eaf07af9b20f64a568997e874c Cr-Commit-Position: refs/heads/master@{#294683}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update handling to match Buildbot O.F. #

Total comments: 1

Patch Set 3 : Fix nit #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -6 lines) Patch
M tools/telemetry/telemetry/results/chart_json_output_formatter.py View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/results/chart_json_output_formatter_unittest.py View 1 2 3 1 chunk +17 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/value/__init__.py View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 13 (3 generated)
eakuefner
6 years, 3 months ago (2014-09-10 23:20:16 UTC) #1
tonyg
rubber stamp owners lgtm, but please wait for quinten or annie to review too.
6 years, 3 months ago (2014-09-10 23:31:47 UTC) #2
qyearsley
I don't think I understand the handling of result names and how we want it ...
6 years, 3 months ago (2014-09-10 23:51:36 UTC) #3
qyearsley
https://codereview.chromium.org/551063005/diff/1/tools/telemetry/telemetry/results/chart_json_output_formatter_unittest.py File tools/telemetry/telemetry/results/chart_json_output_formatter_unittest.py (right): https://codereview.chromium.org/551063005/diff/1/tools/telemetry/telemetry/results/chart_json_output_formatter_unittest.py#newcode70 tools/telemetry/telemetry/results/chart_json_output_formatter_unittest.py:70: d = chart_json_output_formatter._ResultsAsChartDict( # pylint: disable=W0212 Note about pylint ...
6 years, 3 months ago (2014-09-10 23:51:57 UTC) #4
eakuefner
Quinten PTAL -- I've updated the strategy to simply overwrite an already-present trace, which is ...
6 years, 3 months ago (2014-09-11 21:15:52 UTC) #5
qyearsley
Alright, LGTM now (with one nit before submitting). https://codereview.chromium.org/551063005/diff/20001/tools/telemetry/telemetry/results/chart_json_output_formatter.py File tools/telemetry/telemetry/results/chart_json_output_formatter.py (right): https://codereview.chromium.org/551063005/diff/20001/tools/telemetry/telemetry/results/chart_json_output_formatter.py#newcode48 tools/telemetry/telemetry/results/chart_json_output_formatter.py:48: Nit: ...
6 years, 3 months ago (2014-09-11 23:45:58 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/551063005/40001
6 years, 3 months ago (2014-09-12 20:32:59 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/551063005/60001
6 years, 3 months ago (2014-09-12 20:50:56 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 056e2b7f851195d6a4fc6b12aaa72b91739b52a0
6 years, 3 months ago (2014-09-12 22:38:20 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 22:44:46 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fd93e29f1f5d03eaf07af9b20f64a568997e874c
Cr-Commit-Position: refs/heads/master@{#294683}

Powered by Google App Engine
This is Rietveld 408576698