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

Issue 2965383002: WIP: Add support for additional flag-specified tracing categories. (Closed)

Created:
3 years, 5 months ago by sullivan
Modified:
3 years, 5 months ago
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org, charliea (OOO until 10-5)
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Add support for additional flag-specified tracing categories. This CL adds two flags: * --extra-chrome-categories specifies additional Chrome tracing categories to include when running the benchmark. * --extra-atrace-categories specifies additional atrace categories. This CL also renames CreateTimelineBasedMeasurementOptions to CreateBaseTimelineBasedMeasurementOptions. CreateBaseTimelineBasedMeasurementOptions will be deleted after migrating clients. BUG=catapult:#3450 Review-Url: https://codereview.chromium.org/2965383002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/d19b49c7f57f09361a34d8717869833050ce113b

Patch Set 1 #

Total comments: 14

Patch Set 2 : lint #

Patch Set 3 : CreateBaseTimelineBased->CreateCoreTimelineBased #

Total comments: 8

Patch Set 4 : addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -50 lines) Patch
A common/py_utils/py_utils/class_util.py View 1 1 chunk +26 lines, -0 lines 0 comments Download
A common/py_utils/py_utils/class_util_unittest.py View 1 1 chunk +138 lines, -0 lines 0 comments Download
M telemetry/examples/benchmarks/tbm_benchmark.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M telemetry/telemetry/benchmark.py View 1 2 3 4 chunks +85 lines, -17 lines 0 comments Download
M telemetry/telemetry/benchmark_unittest.py View 1 2 3 4 chunks +94 lines, -31 lines 0 comments Download
M telemetry/telemetry/internal/browser/browser_options.py View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M telemetry/telemetry/web_perf/timeline_based_measurement.py View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (11 generated)
sullivan
This is a WIP. I added a bunch of CL comments on things I'd like ...
3 years, 5 months ago (2017-07-07 14:58:47 UTC) #3
charliea (OOO until 10-5)
https://codereview.chromium.org/2965383002/diff/1/telemetry/examples/benchmarks/tbm_benchmark.py File telemetry/examples/benchmarks/tbm_benchmark.py (right): https://codereview.chromium.org/2965383002/diff/1/telemetry/examples/benchmarks/tbm_benchmark.py#newcode14 telemetry/examples/benchmarks/tbm_benchmark.py:14: def CreateBaseTimelineBasedMeasurementOptions(self): Maybe it's just me, but it feels ...
3 years, 5 months ago (2017-07-07 20:07:00 UTC) #5
nednguyen
https://codereview.chromium.org/2965383002/diff/1/telemetry/telemetry/benchmark.py File telemetry/telemetry/benchmark.py (right): https://codereview.chromium.org/2965383002/diff/1/telemetry/telemetry/benchmark.py#newcode275 telemetry/telemetry/benchmark.py:275: 'This benchmark does not support Chrome tracing.') On 2017/07/07 ...
3 years, 5 months ago (2017-07-07 20:07:51 UTC) #6
nednguyen
On 2017/07/07 20:07:51, nednguyen wrote: > https://codereview.chromium.org/2965383002/diff/1/telemetry/telemetry/benchmark.py > File telemetry/telemetry/benchmark.py (right): > > https://codereview.chromium.org/2965383002/diff/1/telemetry/telemetry/benchmark.py#newcode275 > ...
3 years, 5 months ago (2017-07-07 20:14:09 UTC) #7
sullivan
Added tests and documentation. This is ready for full review. PTAL. Note: the more I ...
3 years, 5 months ago (2017-07-13 14:47:27 UTC) #8
nednguyen
lgtm with some comments https://codereview.chromium.org/2965383002/diff/40001/telemetry/telemetry/benchmark.py File telemetry/telemetry/benchmark.py (right): https://codereview.chromium.org/2965383002/diff/40001/telemetry/telemetry/benchmark.py#newcode288 telemetry/telemetry/benchmark.py:288: categories = tbm_options.config.atrace_config.categories If the ...
3 years, 5 months ago (2017-07-13 18:12:41 UTC) #13
sullivan
https://codereview.chromium.org/2965383002/diff/40001/telemetry/telemetry/benchmark.py File telemetry/telemetry/benchmark.py (right): https://codereview.chromium.org/2965383002/diff/40001/telemetry/telemetry/benchmark.py#newcode288 telemetry/telemetry/benchmark.py:288: categories = tbm_options.config.atrace_config.categories On 2017/07/13 18:12:41, nednguyen wrote: > ...
3 years, 5 months ago (2017-07-13 18:33:15 UTC) #14
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/2965383002/60001
3 years, 5 months ago (2017-07-13 18:38:58 UTC) #17
commit-bot: I haz the power
3 years, 5 months ago (2017-07-13 19:06:15 UTC) #20
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