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

Issue 2073303002: [Telemetry] Allow users to select TBMv1 metrics to run alongside TBMv2 (Closed)

Created:
4 years, 6 months ago by eakuefner
Modified:
3 years, 10 months ago
Reviewers:
nednguyen
CC:
catapult-reviews_chromium.org, petrcermak, telemetry-reviews_chromium.org, ulan
Base URL:
git@github.com:catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[Telemetry] Allow users to select TBMv1 metrics to run alongside TBMv2 This CL relaxes the restriction that users must choose either a list of TBMv1 metrics, or a TBMv2 metric, to be run by a benchmark. It reconciles the legacy functionality that selects all TBMv1 metrics by default in the following way: 1. If a TBMv2 metric is specified, any explicitly specified (using SetLegacyTimelineBasedMetrics) v1 metrics will also be computed. 2. If a TBMv2 metric is not specified, but TBMv1 metrics are specified, only the selected TBMv1 metrics will be computed. 3. If neither a TBMv2 metric nor any TBMv1 metrics are specified, all TBMv1 metrics will be computed and no TBMv2 metric will be computed. BUG=chromium:621035 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/054fe195c7bcf92dc42d2567492eb1e04281c0db Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/d8f0134fc047765b23230cc639e1565ca41aa900

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address Ned's comments #

Patch Set 3 : Fix indentation bug #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -5 lines) Patch
M telemetry/telemetry/web_perf/timeline_based_measurement.py View 1 2 3 chunks +11 lines, -5 lines 4 comments Download

Messages

Total messages: 20 (7 generated)
eakuefner
PTAL
4 years, 6 months ago (2016-06-17 21:24:53 UTC) #2
nednguyen
lgtm https://codereview.chromium.org/2073303002/diff/1/telemetry/telemetry/web_perf/timeline_based_measurement.py File telemetry/telemetry/web_perf/timeline_based_measurement.py (right): https://codereview.chromium.org/2073303002/diff/1/telemetry/telemetry/web_perf/timeline_based_measurement.py#newcode44 telemetry/telemetry/web_perf/timeline_based_measurement.py:44: def _GetAllLegacyTimelineBasedMetrics(): I think we can just remove ...
4 years, 6 months ago (2016-06-17 21:36:11 UTC) #3
eakuefner
https://codereview.chromium.org/2073303002/diff/1/telemetry/telemetry/web_perf/timeline_based_measurement.py File telemetry/telemetry/web_perf/timeline_based_measurement.py (right): https://codereview.chromium.org/2073303002/diff/1/telemetry/telemetry/web_perf/timeline_based_measurement.py#newcode44 telemetry/telemetry/web_perf/timeline_based_measurement.py:44: def _GetAllLegacyTimelineBasedMetrics(): On 2016/06/17 at 21:36:11, nednguyen wrote: > ...
4 years, 6 months ago (2016-06-17 21:50:44 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2073303002/20001
4 years, 6 months ago (2016-06-17 21:51:03 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/054fe195c7bcf92dc42d2567492eb1e04281c0db
4 years, 6 months ago (2016-06-17 22:13:11 UTC) #9
nednguyen
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2073363002/ by nednguyen@google.com. ...
4 years, 6 months ago (2016-06-18 01:10:37 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2073303002/40001
4 years, 6 months ago (2016-06-20 22:05:25 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/d8f0134fc047765b23230cc639e1565ca41aa900
4 years, 6 months ago (2016-06-20 23:13:25 UTC) #15
nednguyen
https://codereview.chromium.org/2073303002/diff/40001/telemetry/telemetry/web_perf/timeline_based_measurement.py File telemetry/telemetry/web_perf/timeline_based_measurement.py (right): https://codereview.chromium.org/2073303002/diff/40001/telemetry/telemetry/web_perf/timeline_based_measurement.py#newcode294 telemetry/telemetry/web_perf/timeline_based_measurement.py:294: self._ComputeLegacyTimelineBasedMetrics(results, trace_result) Probably should modify existing test in timeline_based_page_test_unittest ...
4 years, 6 months ago (2016-06-20 23:17:05 UTC) #16
eakuefner
https://codereview.chromium.org/2073303002/diff/40001/telemetry/telemetry/web_perf/timeline_based_measurement.py File telemetry/telemetry/web_perf/timeline_based_measurement.py (right): https://codereview.chromium.org/2073303002/diff/40001/telemetry/telemetry/web_perf/timeline_based_measurement.py#newcode294 telemetry/telemetry/web_perf/timeline_based_measurement.py:294: self._ComputeLegacyTimelineBasedMetrics(results, trace_result) On 2016/06/20 at 23:17:05, nednguyen wrote: > ...
4 years, 6 months ago (2016-06-21 21:36:27 UTC) #17
nednguyen
https://codereview.chromium.org/2073303002/diff/40001/telemetry/telemetry/web_perf/timeline_based_measurement.py File telemetry/telemetry/web_perf/timeline_based_measurement.py (right): https://codereview.chromium.org/2073303002/diff/40001/telemetry/telemetry/web_perf/timeline_based_measurement.py#newcode291 telemetry/telemetry/web_perf/timeline_based_measurement.py:291: 'on July 17, 2016.') Ethan, is this code path ...
3 years, 10 months ago (2017-02-02 13:59:58 UTC) #18
eakuefner
https://codereview.chromium.org/2073303002/diff/40001/telemetry/telemetry/web_perf/timeline_based_measurement.py File telemetry/telemetry/web_perf/timeline_based_measurement.py (right): https://codereview.chromium.org/2073303002/diff/40001/telemetry/telemetry/web_perf/timeline_based_measurement.py#newcode291 telemetry/telemetry/web_perf/timeline_based_measurement.py:291: 'on July 17, 2016.') On 2017/02/02 at 13:59:57, nednguyen ...
3 years, 10 months ago (2017-02-07 20:13:09 UTC) #19
nednguyen
3 years, 10 months ago (2017-02-07 20:20:36 UTC) #20
Message was sent while issue was closed.
On 2017/02/07 20:13:09, eakuefner wrote:
>
https://codereview.chromium.org/2073303002/diff/40001/telemetry/telemetry/web...
> File telemetry/telemetry/web_perf/timeline_based_measurement.py (right):
> 
>
https://codereview.chromium.org/2073303002/diff/40001/telemetry/telemetry/web...
> telemetry/telemetry/web_perf/timeline_based_measurement.py:291: 'on July 17,
> 2016.')
> On 2017/02/02 at 13:59:57, nednguyen wrote:
> > Ethan, is this code path ready to be killed now?
> 
> Just about. Looking at this is on my radar for this week. There are two
> behaviors to consider here:
> 
> 1. Allowing users to select both TBMv1 and TBMv2 metrics to be computed:
pretty
> sure this functionality can be killed right now. I'm inclined to just do that
> first and send an email to telemetry-announce.
> 2. Selecting all TBMv1 metrics implicitly if TimelineBasedMeasurement is
> specified but SetTimelineBasedMetrics or SetLegacyTimelineBasedMetrics are not
> called. This functionality is still used by smoothness but probably nothing
> else, and could probably be fixed by just inserting
> SetLegacyTimelineBasedMetrics into smoothness. I just need to finish checking
> the rest of the TBMv1 tests to make sure that this call is present.

The plan SGTM. Thanks!

Powered by Google App Engine
This is Rietveld 408576698