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

Issue 637153002: telemetry: Remove command line args from page test (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: Remove command line args from page set - Remove command line argument handling from page tests (except for extra browser args) - Allow benchmarks to create customized page tests - Adapt all measurements and benchmarks R=tonyg@chromium.org, nednguyen@google.com, nduca@chromium.org, chrishenry@google.com, dtu@chromium.org BUG=421276 Committed: https://crrev.com/7c0eae7f526aa9af80d5800da7daa50f41290375 Cr-Commit-Position: refs/heads/master@{#304887}

Patch Set 1 #

Total comments: 4

Patch Set 2 : . #

Total comments: 24

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : Use AddBenchmarkCommandLineArgs #

Patch Set 7 : Fix pylint errors. #

Patch Set 8 : Suppress pylint E1003 #

Total comments: 2

Patch Set 9 : E1003 -> bad-super-call #

Unified diffs Side-by-side diffs Delta from patch set Stats (+271 lines, -385 lines) Patch
M content/test/gpu/gpu_tests/cloud_storage_test_base.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/test/gpu/gpu_tests/pixel.py View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/gpu/gpu_tests/webgl_conformance.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/benchmarks/benchmark_smoke_unittest.py View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M tools/perf/benchmarks/page_cycler.py View 1 2 3 4 5 2 chunks +38 lines, -38 lines 0 comments Download
M tools/perf/benchmarks/rasterize_and_record_micro.py View 1 2 3 4 5 1 chunk +32 lines, -8 lines 0 comments Download
M tools/perf/benchmarks/repaint.py View 1 2 3 4 5 1 chunk +21 lines, -5 lines 0 comments Download
M tools/perf/benchmarks/session_restore.py View 1 2 3 4 3 chunks +8 lines, -12 lines 0 comments Download
M tools/perf/benchmarks/skpicture_printer.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/benchmarks/start_with_url.py View 1 2 3 4 2 chunks +4 lines, -7 lines 0 comments Download
M tools/perf/benchmarks/startup.py View 1 1 chunk +20 lines, -24 lines 0 comments Download
M tools/perf/benchmarks/thread_times.py View 1 2 3 4 5 2 chunks +14 lines, -10 lines 0 comments Download
M tools/perf/benchmarks/v8.py View 1 2 1 chunk +6 lines, -7 lines 0 comments Download
M tools/perf/measurements/page_cycler.py View 1 2 chunks +14 lines, -31 lines 0 comments Download
M tools/perf/measurements/page_cycler_unittest.py View 1 2 3 5 chunks +21 lines, -15 lines 0 comments Download
M tools/perf/measurements/rasterize_and_record_micro.py View 1 2 3 5 chunks +13 lines, -31 lines 0 comments Download
M tools/perf/measurements/rasterize_and_record_micro_unittest.py View 1 2 3 2 chunks +3 lines, -7 lines 0 comments Download
M tools/perf/measurements/record_per_area.py View 1 2 chunks +3 lines, -8 lines 0 comments Download
M tools/perf/measurements/repaint.py View 1 2 chunks +9 lines, -19 lines 0 comments Download
M tools/perf/measurements/screenshot.py View 1 2 1 chunk +2 lines, -12 lines 0 comments Download
M tools/perf/measurements/screenshot_unittest.py View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M tools/perf/measurements/session_restore.py View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M tools/perf/measurements/session_restore_with_url.py View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M tools/perf/measurements/skpicture_printer.py View 1 1 chunk +3 lines, -10 lines 0 comments Download
M tools/perf/measurements/skpicture_printer_unittest.py View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M tools/perf/measurements/smooth_gesture_util_unittest.py View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M tools/perf/measurements/smoothness_unittest.py View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M tools/perf/measurements/startup.py View 1 2 2 chunks +13 lines, -26 lines 0 comments Download
M tools/perf/measurements/thread_times.py View 1 2 chunks +6 lines, -9 lines 0 comments Download
M tools/perf/measurements/thread_times_unittest.py View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M tools/telemetry/telemetry/benchmark.py View 1 2 3 4 5 6 4 chunks +11 lines, -14 lines 0 comments Download
M tools/telemetry/telemetry/page/page_test.py View 1 2 3 6 chunks +1 line, -26 lines 0 comments Download
M tools/telemetry/telemetry/page/page_test_unittest.py View 1 2 3 2 chunks +0 lines, -21 lines 0 comments Download
M tools/telemetry/telemetry/page/record_wpr.py View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/page/record_wpr_unittest.py View 1 2 3 4 5 6 4 chunks +1 line, -8 lines 0 comments Download
M tools/telemetry/telemetry/unittest_util/page_test_test_case.py View 1 2 3 2 chunks +0 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/web_perf/timeline_based_measurement.py View 1 2 3 1 chunk +6 lines, -13 lines 0 comments Download

Messages

Total messages: 55 (12 generated)
ernstm
PTAL
6 years, 2 months ago (2014-10-08 01:09:35 UTC) #2
nednguyen
With this, can you also make sure that test_runner only match "directly constructable" page tests ...
6 years, 2 months ago (2014-10-08 01:44:54 UTC) #3
ernstm
What do you mean with 'match "directly constructable" page tests'? https://codereview.chromium.org/637153002/diff/1/tools/telemetry/telemetry/benchmark.py File tools/telemetry/telemetry/benchmark.py (right): https://codereview.chromium.org/637153002/diff/1/tools/telemetry/telemetry/benchmark.py#newcode177 ...
6 years, 2 months ago (2014-10-09 17:16:17 UTC) #4
nednguyen
On 2014/10/09 17:16:17, ernstm wrote: > What do you mean with 'match "directly constructable" page ...
6 years, 2 months ago (2014-10-09 17:37:20 UTC) #5
ernstm
On 2014/10/09 17:37:20, nednguyen wrote: > On 2014/10/09 17:16:17, ernstm wrote: > > What do ...
6 years, 2 months ago (2014-10-09 18:33:17 UTC) #6
nednguyen
On 2014/10/09 18:33:17, ernstm wrote: > On 2014/10/09 17:37:20, nednguyen wrote: > > On 2014/10/09 ...
6 years, 2 months ago (2014-10-09 19:03:36 UTC) #7
nednguyen
https://codereview.chromium.org/637153002/diff/1/tools/telemetry/telemetry/benchmark.py File tools/telemetry/telemetry/benchmark.py (right): https://codereview.chromium.org/637153002/diff/1/tools/telemetry/telemetry/benchmark.py#newcode177 tools/telemetry/telemetry/benchmark.py:177: def CreatePageTest(self): On 2014/10/09 17:16:17, ernstm wrote: > On ...
6 years, 2 months ago (2014-10-09 19:40:08 UTC) #8
ernstm
> run_measurement is actually the same as run_benchmark actually. The core issue > here is ...
6 years, 2 months ago (2014-10-09 22:09:09 UTC) #9
ernstm
> The hard way to do this is to deprecate the feature of letting page ...
6 years, 2 months ago (2014-10-09 22:11:27 UTC) #10
jbroman
On 2014/10/09 22:11:27, ernstm wrote: > > The hard way to do this is to ...
6 years, 2 months ago (2014-10-09 22:21:33 UTC) #11
tonyg
[+dtu]
6 years, 2 months ago (2014-10-09 22:29:43 UTC) #13
dtu
On 2014/10/09 22:21:33, jbroman wrote: > On 2014/10/09 22:11:27, ernstm wrote: > > > The ...
6 years, 2 months ago (2014-10-10 01:45:19 UTC) #14
dtu
https://codereview.chromium.org/637153002/diff/1/tools/telemetry/telemetry/benchmark.py File tools/telemetry/telemetry/benchmark.py (right): https://codereview.chromium.org/637153002/diff/1/tools/telemetry/telemetry/benchmark.py#newcode177 tools/telemetry/telemetry/benchmark.py:177: def CreatePageTest(self): On 2014/10/09 19:40:08, nednguyen wrote: > On ...
6 years, 2 months ago (2014-10-10 01:45:28 UTC) #15
nednguyen
On 2014/10/10 01:45:28, dtu wrote: > https://codereview.chromium.org/637153002/diff/1/tools/telemetry/telemetry/benchmark.py > File tools/telemetry/telemetry/benchmark.py (right): > > https://codereview.chromium.org/637153002/diff/1/tools/telemetry/telemetry/benchmark.py#newcode177 > ...
6 years, 2 months ago (2014-10-10 02:22:25 UTC) #16
ernstm
On 2014/10/10 02:22:25, nednguyen wrote: > On 2014/10/10 01:45:28, dtu wrote: > > > https://codereview.chromium.org/637153002/diff/1/tools/telemetry/telemetry/benchmark.py ...
6 years, 2 months ago (2014-10-14 22:24:12 UTC) #18
nednguyen
I like this approach, but would you mind separating some changes to other patches? https://codereview.chromium.org/637153002/diff/150001/tools/perf/benchmarks/v8.py ...
6 years, 2 months ago (2014-10-14 22:33:37 UTC) #19
dtu
https://codereview.chromium.org/637153002/diff/150001/tools/perf/run_measurement File tools/perf/run_measurement (left): https://codereview.chromium.org/637153002/diff/150001/tools/perf/run_measurement#oldcode1 tools/perf/run_measurement:1: #!/usr/bin/env python On 2014/10/14 22:33:37, nednguyen wrote: > Wow, ...
6 years, 2 months ago (2014-10-14 22:37:17 UTC) #20
nednguyen
On 2014/10/14 22:37:17, dtu wrote: > https://codereview.chromium.org/637153002/diff/150001/tools/perf/run_measurement > File tools/perf/run_measurement (left): > > https://codereview.chromium.org/637153002/diff/150001/tools/perf/run_measurement#oldcode1 > ...
6 years, 2 months ago (2014-10-14 22:39:00 UTC) #21
dtu
Also look in content/test/gpu/gpu_tests for more measurements. https://codereview.chromium.org/637153002/diff/150001/tools/telemetry/telemetry/page/page_test.py File tools/telemetry/telemetry/page/page_test.py (right): https://codereview.chromium.org/637153002/diff/150001/tools/telemetry/telemetry/page/page_test.py#newcode136 tools/telemetry/telemetry/page/page_test.py:136: def Run(self, ...
6 years, 2 months ago (2014-10-14 22:55:43 UTC) #22
vmiura
https://codereview.chromium.org/637153002/diff/150001/tools/perf/benchmarks/repaint.py File tools/perf/benchmarks/repaint.py (right): https://codereview.chromium.org/637153002/diff/150001/tools/perf/benchmarks/repaint.py#newcode24 tools/perf/benchmarks/repaint.py:24: help='Height of invalidations for fixed_size mode.') I'm not sure ...
6 years, 2 months ago (2014-10-14 23:16:08 UTC) #24
dtu
On 2014/10/14 23:16:08, vmiura wrote: > https://codereview.chromium.org/637153002/diff/150001/tools/perf/benchmarks/repaint.py > File tools/perf/benchmarks/repaint.py (right): > > https://codereview.chromium.org/637153002/diff/150001/tools/perf/benchmarks/repaint.py#newcode24 > ...
6 years, 2 months ago (2014-10-14 23:31:15 UTC) #25
vmiura
On 2014/10/14 23:31:15, dtu wrote: > On 2014/10/14 23:16:08, vmiura wrote: > > > https://codereview.chromium.org/637153002/diff/150001/tools/perf/benchmarks/repaint.py ...
6 years, 2 months ago (2014-10-15 00:45:20 UTC) #26
vmiura
Menchmark -> Benchmark :-)
6 years, 2 months ago (2014-10-15 00:46:05 UTC) #27
nednguyen
On 2014/10/15 00:45:20, vmiura wrote: > On 2014/10/14 23:31:15, dtu wrote: > > On 2014/10/14 ...
6 years, 2 months ago (2014-10-15 02:10:51 UTC) #28
chrishenry
On 2014/10/15 02:10:51, nednguyen wrote: > On 2014/10/15 00:45:20, vmiura wrote: > > On 2014/10/14 ...
6 years, 2 months ago (2014-10-15 17:58:53 UTC) #29
chrishenry
Overall, this is pretty nice. I'm a bit concern that we're doing too many things ...
6 years, 2 months ago (2014-10-15 18:26:09 UTC) #30
vmiura
> > I agree, I just wasn't sure about the move of the command-line parsing ...
6 years, 2 months ago (2014-10-15 19:36:34 UTC) #31
vmiura
> benchmarks/repaint.py: class _ThreadTimes(Benchmark) > benchmarks/thread_times.py: class _Repaint(Benchmark) Reversed... benchmarks/repaint.py: class _Repaint(Benchmark) benchmarks/thread_times.py: class _ThreadTimes(Benchmark)
6 years, 2 months ago (2014-10-15 20:09:48 UTC) #32
ernstm
I think I have addressed all of the comments in the latest patch. However, I ...
6 years, 2 months ago (2014-10-16 22:32:13 UTC) #33
chrishenry
lgtm, but let's finish the conversation on https://codereview.chromium.org/641823004/ https://codereview.chromium.org/637153002/diff/170001/tools/perf/benchmarks/page_cycler.py File tools/perf/benchmarks/page_cycler.py (right): https://codereview.chromium.org/637153002/diff/170001/tools/perf/benchmarks/page_cycler.py#newcode14 tools/perf/benchmarks/page_cycler.py:14: def ...
6 years, 2 months ago (2014-10-17 23:57:09 UTC) #34
ernstm
We decided to move forward with this CL instead of https://codereview.chromium.org/641823004/. +kbr for the (small) ...
6 years, 1 month ago (2014-11-19 18:04:46 UTC) #36
Ken Russell (switch to Gerrit)
content/test/gpu LGTM as long as this passes the trybots.
6 years, 1 month ago (2014-11-19 18:10:59 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/637153002/230001
6 years, 1 month ago (2014-11-19 18:16:01 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/25239)
6 years, 1 month ago (2014-11-19 18:23:36 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/637153002/250001
6 years, 1 month ago (2014-11-19 19:14:44 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/637153002/270001
6 years, 1 month ago (2014-11-19 19:42:07 UTC) #46
nednguyen
https://codereview.chromium.org/637153002/diff/270001/tools/perf/measurements/smooth_gesture_util_unittest.py File tools/perf/measurements/smooth_gesture_util_unittest.py (right): https://codereview.chromium.org/637153002/diff/270001/tools/perf/measurements/smooth_gesture_util_unittest.py#newcode123 tools/perf/measurements/smooth_gesture_util_unittest.py:123: # pylint: disable=E1003 Can you change this to disable=bad-super-call ...
6 years, 1 month ago (2014-11-19 19:44:16 UTC) #47
ernstm
https://codereview.chromium.org/637153002/diff/270001/tools/perf/measurements/smooth_gesture_util_unittest.py File tools/perf/measurements/smooth_gesture_util_unittest.py (right): https://codereview.chromium.org/637153002/diff/270001/tools/perf/measurements/smooth_gesture_util_unittest.py#newcode123 tools/perf/measurements/smooth_gesture_util_unittest.py:123: # pylint: disable=E1003 On 2014/11/19 19:44:16, nednguyen wrote: > ...
6 years, 1 month ago (2014-11-19 20:02:44 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/637153002/290001
6 years, 1 month ago (2014-11-19 20:04:04 UTC) #51
commit-bot: I haz the power
Committed patchset #9 (id:290001)
6 years, 1 month ago (2014-11-19 21:02:07 UTC) #52
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/7c0eae7f526aa9af80d5800da7daa50f41290375 Cr-Commit-Position: refs/heads/master@{#304887}
6 years, 1 month ago (2014-11-19 21:04:28 UTC) #53
jeremy
A revert of this CL (patchset #9 id:290001) has been created in https://codereview.chromium.org/737403002/ by jeremy@chromium.org. ...
6 years, 1 month ago (2014-11-20 14:36:15 UTC) #54
rmistry
6 years, 1 month ago (2014-11-21 20:21:10 UTC) #55
Message was sent while issue was closed.
This CL broke Skia's bot:
http://build.chromium.org/p/client.skia.fyi/builders/Housekeeper-Nightly-Recr...

Looks like the --skp-output flag in the measurement:
https://codereview.chromium.org/637153002/diff/290001/tools/perf/measurements...
was not moved over to the benchmark:
https://codereview.chromium.org/637153002/diff/290001/tools/perf/benchmarks/s...

Powered by Google App Engine
This is Rietveld 408576698