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

Issue 2989143002: Plumb SparseDiagnostics by Name (Closed)

Created:
3 years, 4 months ago by phsilva
Modified:
3 years, 4 months ago
CC:
catapult-reviews_chromium.org, perf-dashboard-reviews_chromium.org, tracing-review_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Plumb SparseDiagnostics by Name This CL adds the creation of Sparse Diagnostics in add_histograms by using a set of reserved names. It also adds some of the logic so that when shared diagnostics of histograms are imported, their name is checked against the reserved set, instead of only using their type. This addresses step 5 of the list of tasks to be done in bug 3507. BUG=catapult:#3718, catapult:#3507 Review-Url: https://codereview.chromium.org/2989143002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/68c8e443039c742d3685516647cfef77def67d27 Review-Url: https://codereview.chromium.org/2989143002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/0efcc192805c88a3ab6347f26245e6d293d09b5f

Patch Set 1 #

Patch Set 2 : Use reserved infos instead of hard coded names #

Total comments: 7

Patch Set 3 : Address Ben's comments #

Total comments: 5

Patch Set 4 : Remove None from possible name of Diagnostic #

Total comments: 1

Patch Set 5 : Raise Exception When Histograms Differ #

Total comments: 1

Patch Set 6 : Add Names all times #

Total comments: 1

Patch Set 7 : Add TODO #

Patch Set 8 : Rebase onto master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -14 lines) Patch
M dashboard/dashboard/add_histograms.py View 1 2 3 4 5 6 3 chunks +35 lines, -14 lines 0 comments Download
M dashboard/dashboard/add_histograms_test.py View 1 2 3 4 2 chunks +192 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (12 generated)
phsilva
Hi all, I've written this CL regarding using names (not just types) to create Sparse ...
3 years, 4 months ago (2017-07-31 19:24:03 UTC) #4
benjhayden
Thanks! https://codereview.chromium.org/2989143002/diff/20001/dashboard/dashboard/add_histograms.py File dashboard/dashboard/add_histograms.py (right): https://codereview.chromium.org/2989143002/diff/20001/dashboard/dashboard/add_histograms.py#newcode24 dashboard/dashboard/add_histograms.py:24: [reserved_infos.ARCHITECTURES.name, reserved_infos.BUG_COMPONENTS.name, Can you split these to 1 ...
3 years, 4 months ago (2017-07-31 20:44:33 UTC) #5
shatch
https://codereview.chromium.org/2989143002/diff/20001/dashboard/dashboard/add_histograms.py File dashboard/dashboard/add_histograms.py (right): https://codereview.chromium.org/2989143002/diff/20001/dashboard/dashboard/add_histograms.py#newcode83 dashboard/dashboard/add_histograms.py:83: for hist in histograms: Can you explain this loop ...
3 years, 4 months ago (2017-07-31 21:06:17 UTC) #6
phsilva
Thanks for the comments, Ben. I've addressed them in a new patch. On 2017/07/31 at ...
3 years, 4 months ago (2017-07-31 21:52:47 UTC) #8
phsilva
On 2017/07/31 at 21:06:17, simonhatch wrote: > https://codereview.chromium.org/2989143002/diff/20001/dashboard/dashboard/add_histograms.py > File dashboard/dashboard/add_histograms.py (right): > > https://codereview.chromium.org/2989143002/diff/20001/dashboard/dashboard/add_histograms.py#newcode83 ...
3 years, 4 months ago (2017-07-31 21:56:32 UTC) #9
benjhayden
https://codereview.chromium.org/2989143002/diff/40001/dashboard/dashboard/add_histograms.py File dashboard/dashboard/add_histograms.py (right): https://codereview.chromium.org/2989143002/diff/40001/dashboard/dashboard/add_histograms.py#newcode87 dashboard/dashboard/add_histograms.py:87: name not in diagnostic_names_added): This assumes that there's not ...
3 years, 4 months ago (2017-07-31 22:10:40 UTC) #10
phsilva
https://codereview.chromium.org/2989143002/diff/20001/dashboard/dashboard/add_histograms.py File dashboard/dashboard/add_histograms.py (right): https://codereview.chromium.org/2989143002/diff/20001/dashboard/dashboard/add_histograms.py#newcode83 dashboard/dashboard/add_histograms.py:83: for hist in histograms: On 2017/07/31 at 21:06:16, shatch ...
3 years, 4 months ago (2017-07-31 22:23:21 UTC) #11
shatch
lgtm once Ben is happy with it https://codereview.chromium.org/2989143002/diff/20001/dashboard/dashboard/add_histograms.py File dashboard/dashboard/add_histograms.py (right): https://codereview.chromium.org/2989143002/diff/20001/dashboard/dashboard/add_histograms.py#newcode83 dashboard/dashboard/add_histograms.py:83: for hist ...
3 years, 4 months ago (2017-08-01 15:28:01 UTC) #12
phsilva
Thanks for the review Simon. I've submitted a patch now that checks that the histograms ...
3 years, 4 months ago (2017-08-01 20:21:03 UTC) #13
benjhayden
https://codereview.chromium.org/2989143002/diff/80001/dashboard/dashboard/add_histograms.py File dashboard/dashboard/add_histograms.py (right): https://codereview.chromium.org/2989143002/diff/80001/dashboard/dashboard/add_histograms.py#newcode99 dashboard/dashboard/add_histograms.py:99: suite_level_sparse_diagnostic_entities[-1].name = name Why not set name for all ...
3 years, 4 months ago (2017-08-01 21:46:18 UTC) #14
phsilva
On 2017/08/01 at 21:46:18, benjhayden wrote: > https://codereview.chromium.org/2989143002/diff/80001/dashboard/dashboard/add_histograms.py > File dashboard/dashboard/add_histograms.py (right): > > https://codereview.chromium.org/2989143002/diff/80001/dashboard/dashboard/add_histograms.py#newcode99 ...
3 years, 4 months ago (2017-08-02 00:09:03 UTC) #15
shatch
On 2017/08/02 00:09:03, phsilva wrote: > On 2017/08/01 at 21:46:18, benjhayden wrote: > > > ...
3 years, 4 months ago (2017-08-02 12:56:16 UTC) #16
benjhayden
lgtm
3 years, 4 months ago (2017-08-02 17:13:04 UTC) #17
phsilva
On 2017/08/02 at 12:56:16, simonhatch wrote: > My understanding is that once all this work ...
3 years, 4 months ago (2017-08-02 17:56:22 UTC) #18
phsilva
On 2017/08/02 at 17:56:22, phsilva wrote: > On 2017/08/02 at 12:56:16, simonhatch wrote: > > ...
3 years, 4 months ago (2017-08-02 21:34:20 UTC) #19
eakuefner
lgtm https://codereview.chromium.org/2989143002/diff/100001/dashboard/dashboard/add_histograms.py File dashboard/dashboard/add_histograms.py (right): https://codereview.chromium.org/2989143002/diff/100001/dashboard/dashboard/add_histograms.py#newcode32 dashboard/dashboard/add_histograms.py:32: SUITE_LEVEL_SPARSE_DIAGNOSTIC_TYPES = set( Please add a TODO to ...
3 years, 4 months ago (2017-08-08 21:10:47 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2989143002/120001
3 years, 4 months ago (2017-08-08 22:44:24 UTC) #23
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/68c8e443039c742d3685516647cfef77def67d27
3 years, 4 months ago (2017-08-08 23:12:03 UTC) #26
phsilva
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/2997643002/ by phsilva@google.com. ...
3 years, 4 months ago (2017-08-09 01:15:39 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2989143002/140001
3 years, 4 months ago (2017-08-09 17:05:13 UTC) #30
commit-bot: I haz the power
3 years, 4 months ago (2017-08-09 17:32:10 UTC) #33
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698