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

Issue 17438002: [telemetry] test_runner and run_benchmarks (Closed)

Created:
7 years, 6 months ago by dtu
Modified:
7 years, 6 months ago
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Visibility:
Public.

Description

[telemetry] test_runner and run_benchmarks - test.Test, which encapsulates a test and page set, and describes how to run it. - test_runner, which runs test.Tests using a command-based CLI. - benchmarks dir, which contains a list of test.Tests. - run_measurement, which just calls test_runner.Main(). BUG=237412 TEST=None. R=kbr@chromium.org, nduca@chromium.org, tonyg@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207874

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Move benchmarks around. #

Total comments: 26

Patch Set 3 : Whooosh #

Patch Set 4 : Workaround to remove duplicate measurements. #

Patch Set 5 : Allow run_measurements to run test.Tests. #

Patch Set 6 : Update docs? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+369 lines, -411 lines) Patch
M content/test/gpu/run_gpu_tests View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
A + tools/perf/benchmarks/__init__.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A tools/perf/benchmarks/smoothness.py View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
A + tools/perf/benchmarks/sunspider.py View 1 2 3 4 2 chunks +20 lines, -16 lines 0 comments Download
A + tools/perf/measurements/__init__.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/perf/measurements/smoothness.py View 3 1 chunk +2 lines, -2 lines 0 comments Download
D tools/perf/perf_tools/smoothness_measurement.py View 3 1 chunk +0 lines, -226 lines 0 comments Download
D tools/perf/perf_tools/sunspider.py View 3 1 chunk +0 lines, -47 lines 0 comments Download
A tools/perf/run_benchmark View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M tools/perf/run_measurement View 1 2 3 4 2 chunks +1 line, -5 lines 0 comments Download
M tools/telemetry/docs/telemetry.html View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M tools/telemetry/docs/telemetry.core.chrome.android_browser_finder.html View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/docs/telemetry.core.chrome.desktop_browser_backend.html View 1 2 3 4 5 2 chunks +5 lines, -7 lines 0 comments Download
M tools/telemetry/docs/telemetry.core.chrome.desktop_browser_finder.html View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M tools/telemetry/docs/telemetry.core.chrome.tracing_backend.html View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M tools/telemetry/docs/telemetry.core.memory_cache_http_server.html View 1 2 3 4 5 4 chunks +8 lines, -2 lines 0 comments Download
M tools/telemetry/docs/telemetry.core.timeline.html View 1 2 3 4 5 1 chunk +5 lines, -4 lines 0 comments Download
M tools/telemetry/docs/telemetry.core.timeline.event.html View 1 2 3 4 5 1 chunk +8 lines, -1 line 0 comments Download
M tools/telemetry/docs/telemetry.core.timeline.model.html View 1 2 3 4 5 3 chunks +15 lines, -4 lines 0 comments Download
D tools/telemetry/docs/telemetry.core.timeline.trace_event_importer.html View 1 2 3 4 5 1 chunk +0 lines, -33 lines 0 comments Download
M tools/telemetry/docs/telemetry.page.html View 1 2 3 4 5 1 chunk +6 lines, -7 lines 0 comments Download
M tools/telemetry/docs/telemetry.page.csv_page_measurement_results.html View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/docs/telemetry.page.page_measurement_runner.html View 1 2 3 4 5 3 chunks +5 lines, -6 lines 0 comments Download
M tools/telemetry/docs/telemetry.page.page_runner.html View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/docs/telemetry.page.page_test_runner.html View 1 2 3 4 5 4 chunks +10 lines, -10 lines 0 comments Download
M tools/telemetry/telemetry/core/profile_types.py View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M tools/telemetry/telemetry/page/csv_page_measurement_results.py View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/page/page_measurement.py View 1 chunk +8 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/page/page_measurement_runner.py View 1 2 3 4 1 chunk +3 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/page/page_test.py View 1 chunk +3 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/page/page_test_runner.py View 1 2 3 4 5 chunks +27 lines, -19 lines 0 comments Download
A tools/telemetry/telemetry/test.py View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/test_runner.py View 1 2 1 chunk +166 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
dtu
7 years, 6 months ago (2013-06-18 23:40:25 UTC) #1
nduca
this looks pretty damn good im thinking maybe we land without having it all polished ...
7 years, 6 months ago (2013-06-18 23:52:23 UTC) #2
dtu
https://chromiumcodereview.appspot.com/17438002/diff/1001/tools/perf/benchmarks/benchmarks.py File tools/perf/benchmarks/benchmarks.py (right): https://chromiumcodereview.appspot.com/17438002/diff/1001/tools/perf/benchmarks/benchmarks.py#newcode13 tools/perf/benchmarks/benchmarks.py:13: class Smoothness(test.TelemetryTest): On 2013/06/18 23:52:23, nduca wrote: > This ...
7 years, 6 months ago (2013-06-19 01:00:50 UTC) #3
nduca
lgtm but a variety of nits https://chromiumcodereview.appspot.com/17438002/diff/6001/tools/telemetry/telemetry/test.py File tools/telemetry/telemetry/test.py (right): https://chromiumcodereview.appspot.com/17438002/diff/6001/tools/telemetry/telemetry/test.py#newcode9 tools/telemetry/telemetry/test.py:9: class Test(object): can ...
7 years, 6 months ago (2013-06-19 05:46:53 UTC) #4
dtu
https://chromiumcodereview.appspot.com/17438002/diff/6001/tools/telemetry/telemetry/test.py File tools/telemetry/telemetry/test.py (right): https://chromiumcodereview.appspot.com/17438002/diff/6001/tools/telemetry/telemetry/test.py#newcode9 tools/telemetry/telemetry/test.py:9: class Test(object): On 2013/06/19 05:46:53, nduca wrote: > can ...
7 years, 6 months ago (2013-06-19 06:07:10 UTC) #5
tonyg
https://chromiumcodereview.appspot.com/17438002/diff/6001/tools/perf/benchmarks/smoothness_benchmarks.py File tools/perf/benchmarks/smoothness_benchmarks.py (right): https://chromiumcodereview.appspot.com/17438002/diff/6001/tools/perf/benchmarks/smoothness_benchmarks.py#newcode1 tools/perf/benchmarks/smoothness_benchmarks.py:1: # Copyright (c) 2013 The Chromium Authors. All rights ...
7 years, 6 months ago (2013-06-19 16:40:15 UTC) #6
dtu
https://chromiumcodereview.appspot.com/17438002/diff/6001/tools/perf/benchmarks/smoothness_benchmarks.py File tools/perf/benchmarks/smoothness_benchmarks.py (right): https://chromiumcodereview.appspot.com/17438002/diff/6001/tools/perf/benchmarks/smoothness_benchmarks.py#newcode1 tools/perf/benchmarks/smoothness_benchmarks.py:1: # Copyright (c) 2013 The Chromium Authors. All rights ...
7 years, 6 months ago (2013-06-19 21:22:57 UTC) #7
tonyg
Dave and I talked offline about finding a way to avoid duplicating the sunspider benchmark/measurement ...
7 years, 6 months ago (2013-06-19 21:36:10 UTC) #8
nduca
i'd go with run_benchmark in my review notes, i took issue with being able to ...
7 years, 6 months ago (2013-06-19 22:04:02 UTC) #9
dtu
On 2013/06/19 22:04:02, nduca wrote: > i'd go with run_benchmark > > in my review ...
7 years, 6 months ago (2013-06-19 22:08:48 UTC) #10
dtu
On 2013/06/19 21:36:10, tonyg wrote: > Dave and I talked offline about finding a way ...
7 years, 6 months ago (2013-06-19 22:32:12 UTC) #11
nduca
Hmmm lets lets file a bug for "revisit where waterfall configuration parameters are stored with ...
7 years, 6 months ago (2013-06-19 22:32:46 UTC) #12
nduca
Can we just make run_measurement hand-recognize the not-a-measurement-anymore class and handle it as a call ...
7 years, 6 months ago (2013-06-19 22:37:34 UTC) #13
dtu
On 2013/06/19 22:37:34, nduca wrote: > Can we just make run_measurement hand-recognize the not-a-measurement-anymore > ...
7 years, 6 months ago (2013-06-20 22:20:11 UTC) #14
nduca
lgtm if needed
7 years, 6 months ago (2013-06-20 22:24:23 UTC) #15
dtu
+kbr OWNER for content/test/gpu
7 years, 6 months ago (2013-06-20 22:33:14 UTC) #16
tonyg
lgtm2
7 years, 6 months ago (2013-06-21 03:47:47 UTC) #17
Ken Russell (switch to Gerrit)
content/test/gpu LGTM
7 years, 6 months ago (2013-06-21 15:42:31 UTC) #18
dtu
7 years, 6 months ago (2013-06-21 17:41:23 UTC) #19
Message was sent while issue was closed.
Committed patchset #6 manually as r207874 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698