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

Issue 641823004: telemetry: Allow page tests to be configured via constructor (Closed)

Created:
6 years, 2 months ago by ernstm
Modified:
6 years, 1 month ago
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git/+/master
Project:
chromium
Visibility:
Public.

Description

telemetry: Allow page tests to be configured via constructor Some parameters of page tests can be hard coded for a particular benchmark and don't need to be exposed as command line arguments. This patch allows configuring those parameters through the constructor of the page test. R=tonyg@chromium.org,nednguyen@google.com,nduca@chromium.org,chrishenry@google.com,dtu@chromium.org,vmiura@chromium.org BUG=421276

Patch Set 1 #

Total comments: 2

Patch Set 2 : Get rid of classmethod #

Patch Set 3 : Add debug output to figure out why pixel tests fail on bots. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -132 lines) Patch
M tools/perf/benchmarks/benchmark_smoke_unittest.py View 1 5 chunks +7 lines, -6 lines 0 comments Download
M tools/perf/benchmarks/benchmark_unittest.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M tools/perf/measurements/page_cycler.py View 1 3 chunks +11 lines, -10 lines 0 comments Download
M tools/perf/measurements/rasterize_and_record_micro.py View 1 1 chunk +1 line, -2 lines 0 comments Download
M tools/perf/measurements/repaint.py View 1 1 chunk +1 line, -2 lines 0 comments Download
M tools/perf/measurements/screenshot.py View 1 1 chunk +4 lines, -5 lines 0 comments Download
M tools/perf/measurements/skpicture_printer.py View 1 1 chunk +7 lines, -5 lines 0 comments Download
M tools/perf/measurements/startup.py View 1 1 chunk +4 lines, -5 lines 0 comments Download
M tools/perf/measurements/thread_times.py View 1 1 chunk +1 line, -2 lines 0 comments Download
M tools/telemetry/telemetry/benchmark.py View 1 5 chunks +27 lines, -29 lines 0 comments Download
M tools/telemetry/telemetry/benchmark_runner.py View 1 2 8 chunks +61 lines, -56 lines 0 comments Download
M tools/telemetry/telemetry/page/page_test.py View 1 4 chunks +9 lines, -7 lines 0 comments Download
M tools/telemetry/telemetry/web_perf/timeline_based_measurement.py View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ernstm
This is an alternate way to achieve the goal for which https://codereview.chromium.org/637153002/ was created. The ...
6 years, 2 months ago (2014-10-17 00:49:04 UTC) #1
nednguyen
https://codereview.chromium.org/641823004/diff/1/tools/telemetry/telemetry/benchmark.py File tools/telemetry/telemetry/benchmark.py (right): https://codereview.chromium.org/641823004/diff/1/tools/telemetry/telemetry/benchmark.py#newcode185 tools/telemetry/telemetry/benchmark.py:185: Override to generate a custom page test. Can you ...
6 years, 2 months ago (2014-10-17 02:59:46 UTC) #2
chrishenry
Personally, I slightly prefer the other patch due to its simplicity, cleaner API (not requiring ...
6 years, 2 months ago (2014-10-17 23:54:29 UTC) #3
ernstm
On 2014/10/17 23:54:29, chrishenry wrote: > Personally, I slightly prefer the other patch due to ...
6 years, 2 months ago (2014-10-20 22:51:53 UTC) #4
vmiura
Seems like a good step to me, since this gives the mechanism for replacing command ...
6 years, 2 months ago (2014-10-20 23:31:18 UTC) #5
ernstm
On 2014/10/20 23:31:18, vmiura wrote: > Seems like a good step to me, since this ...
6 years, 2 months ago (2014-10-21 18:55:41 UTC) #6
nednguyen
On 2014/10/21 18:55:41, ernstm wrote: > On 2014/10/20 23:31:18, vmiura wrote: > > Seems like ...
6 years, 2 months ago (2014-10-21 19:38:32 UTC) #7
ernstm
On 2014/10/21 19:38:32, nednguyen wrote: > On 2014/10/21 18:55:41, ernstm wrote: > > On 2014/10/20 ...
6 years, 2 months ago (2014-10-21 22:24:36 UTC) #8
nednguyen
On 2014/10/21 22:24:36, ernstm wrote: > On 2014/10/21 19:38:32, nednguyen wrote: > > On 2014/10/21 ...
6 years, 2 months ago (2014-10-22 03:07:27 UTC) #9
ernstm
6 years, 1 month ago (2014-11-19 18:02:25 UTC) #10
Closing. We decided to move forward with
https://codereview.chromium.org/637153002/ instead.

Powered by Google App Engine
This is Rietveld 408576698