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

Issue 2990293002: Revision Info into GenericSet (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

Revision Info into GenericSet This is part of the effort to move some of our diagnostics into GenericSet diagnostics rather than being their own type when appropriate. This CL converts the RevisionInfo diagnostic class into a few Generic Sets: one each for the fields of Chromium Revision, Chromium commits, V8 Revisions, V8 Commits, Catapult Revision, Angle Revisions, Skia Revisions, Webrtv Revisions. The same removal process has been done for MergedRevisionInfo, since that is not necessary anymore. Among other things, this CL: * Removes the RevisionInfo Diagnostic class from both Python and JS implementations. * Removes RevisionInfo and MergedRevisionInfo from all_diagnostics. * Changes diagnostic instantiation in add_revision_info to use GenericSets and HistogramSet's AddSharedDiagnostic, replacing RevisionInfo and using Vinn, respectively. * Removes RevisionInfo from being one of the SparseDiagnostics types. * Removes UI implementations in Tracing for RevisionInfo and MergedRevionInfo. * Remove RevisionInfo from add_histogram and respective tests, also adding the logic to adapt to it. Same is done with add_histogram_queue * Removes documentation regarding RevisiomInfo. BUG=catapult:#3758, catapult:#3507 Review-Url: https://codereview.chromium.org/2990293002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/b0531f7a731c861783a4c71cb47302bf7164a3fe Review-Url: https://codereview.chromium.org/2990293002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/665c758fc9cc78b97c5097d21de50493065e00fb

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address Ben's comments #

Total comments: 2

Patch Set 3 : Address Ethan's comments #

Patch Set 4 : Rebase on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -816 lines) Patch
M dashboard/dashboard/add_histograms.py View 1 2 3 1 chunk +7 lines, -8 lines 0 comments Download
M dashboard/dashboard/add_histograms_queue.py View 1 2 chunks +13 lines, -13 lines 0 comments Download
M dashboard/dashboard/add_histograms_queue_test.py View 1 2 chunks +10 lines, -11 lines 0 comments Download
M dashboard/dashboard/add_histograms_test.py View 1 2 3 26 chunks +65 lines, -109 lines 0 comments Download
M docs/histogram-set-json-format.md View 2 chunks +0 lines, -15 lines 0 comments Download
M docs/how-to-write-metrics.md View 1 chunk +0 lines, -10 lines 0 comments Download
M tracing/trace_viewer.gypi View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M tracing/tracing/value/add_revision_info.py View 1 2 1 chunk +0 lines, -24 lines 0 comments Download
M tracing/tracing/value/diagnostics/all_diagnostics.html View 1 chunk +0 lines, -2 lines 0 comments Download
D tracing/tracing/value/diagnostics/merged_revision_info.html View 1 chunk +0 lines, -154 lines 0 comments Download
M tracing/tracing/value/diagnostics/reserved_infos.py View 1 chunk +0 lines, -1 line 0 comments Download
M tracing/tracing/value/diagnostics/reserved_names.html View 1 chunk +0 lines, -1 line 0 comments Download
D tracing/tracing/value/diagnostics/revision_info.html View 1 chunk +0 lines, -94 lines 0 comments Download
M tracing/tracing/value/histogram.py View 2 chunks +0 lines, -61 lines 0 comments Download
M tracing/tracing/value/histogram_unittest.py View 1 chunk +0 lines, -25 lines 0 comments Download
M tracing/tracing/value/ui/diagnostic_span.html View 1 chunk +0 lines, -2 lines 0 comments Download
D tracing/tracing/value/ui/merged_revision_info_span.html View 1 1 chunk +0 lines, -95 lines 0 comments Download
D tracing/tracing/value/ui/merged_revision_info_span_test.html View 1 chunk +0 lines, -40 lines 0 comments Download
D tracing/tracing/value/ui/revision_info_span.html View 1 chunk +0 lines, -104 lines 0 comments Download
D tracing/tracing/value/ui/revision_info_span_test.html View 1 1 chunk +0 lines, -43 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
phsilva
Hi all, Following up on the efforts on DeviceInfo and Ownership diagnostics, in this CL ...
3 years, 4 months ago (2017-08-04 20:39:26 UTC) #2
benjhayden
Just a few nits then lgtm, but please wait for either Ethan or Simon. Thank ...
3 years, 4 months ago (2017-08-04 22:04:58 UTC) #3
phsilva
On 2017/08/04 at 22:04:58, benjhayden wrote: > Just a few nits then lgtm, but please ...
3 years, 4 months ago (2017-08-04 23:05:11 UTC) #4
shatch
/dashboard lgtm
3 years, 4 months ago (2017-08-07 14:52:30 UTC) #5
eakuefner
lgtm https://codereview.chromium.org/2990293002/diff/20001/dashboard/dashboard/add_histograms_test.py File dashboard/dashboard/add_histograms_test.py (right): https://codereview.chromium.org/2990293002/diff/20001/dashboard/dashboard/add_histograms_test.py#newcode92 dashboard/dashboard/add_histograms_test.py:92: # We expect to see BuildbotInfo/TelemetryInfo, I would ...
3 years, 4 months ago (2017-08-08 21:18:16 UTC) #6
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/2990293002/40001
3 years, 4 months ago (2017-08-08 22:26:42 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/b0531f7a731c861783a4c71cb47302bf7164a3fe
3 years, 4 months ago (2017-08-08 22:54:39 UTC) #12
phsilva
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2999663002/ by phsilva@google.com. ...
3 years, 4 months ago (2017-08-09 01:44:44 UTC) #13
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/2990293002/60001
3 years, 4 months ago (2017-08-09 18:02:54 UTC) #16
commit-bot: I haz the power
3 years, 4 months ago (2017-08-09 19:03:38 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698