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

Issue 2717713003: Add a module for tracking categories that metrics depend on. (Closed)

Created:
3 years, 9 months ago by ulan
Modified:
3 years, 9 months ago
CC:
chromium-reviews, telemetry-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a module for tracking categories that metrics depend on. Now we can specify category dependencies of metrics in one place and use them in all benchmark configurations. This patch generalizes page_cycler_v2.AugmentOptionsForLoadingMetrics. BUG=

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -29 lines) Patch
M tools/perf/benchmarks/loading.py View 3 chunks +5 lines, -3 lines 0 comments Download
A tools/perf/benchmarks/metric_dependencies.py View 1 chunk +49 lines, -0 lines 1 comment Download
A tools/perf/benchmarks/metric_dependencies_unittest.py View 1 chunk +46 lines, -0 lines 1 comment Download
M tools/perf/benchmarks/page_cycler_v2.py View 1 chunk +3 lines, -24 lines 0 comments Download
M tools/perf/benchmarks/system_health.py View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
ulan
PTAL
3 years, 9 months ago (2017-02-24 19:46:13 UTC) #2
nednguyen
https://codereview.chromium.org/2717713003/diff/1/tools/perf/benchmarks/metric_dependencies.py File tools/perf/benchmarks/metric_dependencies.py (right): https://codereview.chromium.org/2717713003/diff/1/tools/perf/benchmarks/metric_dependencies.py#newcode11 tools/perf/benchmarks/metric_dependencies.py:11: _CATEGORIES_FOR_METRICS = { ulan: instead of this, I think ...
3 years, 9 months ago (2017-03-02 13:36:00 UTC) #5
tdresser
Can we track this with a bug?
3 years, 9 months ago (2017-03-02 13:41:51 UTC) #6
benjhayden
On 2017/03/02 at 13:36:00, nednguyen wrote: > https://codereview.chromium.org/2717713003/diff/1/tools/perf/benchmarks/metric_dependencies.py > File tools/perf/benchmarks/metric_dependencies.py (right): > > https://codereview.chromium.org/2717713003/diff/1/tools/perf/benchmarks/metric_dependencies.py#newcode11 ...
3 years, 9 months ago (2017-03-02 16:52:44 UTC) #7
benjhayden
On 2017/03/02 at 16:52:44, benjhayden wrote: > On 2017/03/02 at 13:36:00, nednguyen wrote: > > ...
3 years, 9 months ago (2017-03-02 16:53:16 UTC) #8
benjhayden
On 2017/03/02 at 16:53:16, benjhayden wrote: > On 2017/03/02 at 16:52:44, benjhayden wrote: > > ...
3 years, 9 months ago (2017-03-02 16:54:35 UTC) #9
nednguyen
On 2017/03/02 16:52:44, benjhayden wrote: > On 2017/03/02 at 13:36:00, nednguyen wrote: > > > ...
3 years, 9 months ago (2017-03-02 17:00:23 UTC) #10
benjhayden
Is it ok if we continue the discussion about all_metrics.json in the context of the ...
3 years, 9 months ago (2017-03-02 21:33:35 UTC) #11
ulan
3 years, 9 months ago (2017-03-03 08:46:38 UTC) #12
On 2017/03/02 21:33:35, benjhayden wrote:
> Is it ok if we continue the discussion about all_metrics.json in the context
of
> the bug about that feature?
> https://github.com/catapult-project/catapult/issues/1818/
> 
>
https://codereview.chromium.org/2717713003/diff/1/tools/perf/benchmarks/metri...
> File tools/perf/benchmarks/metric_dependencies_unittest.py (right):
> 
>
https://codereview.chromium.org/2717713003/diff/1/tools/perf/benchmarks/metri...
> tools/perf/benchmarks/metric_dependencies_unittest.py:1: # Copyright 2016 The
> Chromium Authors. All rights reserved.
> Drive-by nit: 2017

Thanks all for the comments. As Ben suggested, let's continue discussion in
https://github.com/catapult-project/catapult/issues/1818/

I am going to close this CL and create a new one in catapult that uses either
all_metrics.json or metric.requireCategories.

Powered by Google App Engine
This is Rietveld 408576698