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

Issue 386943007: Plumb Telemetry test name through to results object creation (Closed)

Created:
6 years, 5 months ago by eakuefner
Modified:
6 years, 4 months ago
Reviewers:
tonyg, dtu, nduca
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Plumb Telemetry test name through to results object creation We want to be able to ask for the current benchmark's name when generating results. This threads the benchmark through so that it will be available to results objects. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287483

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address Nat's comment #

Total comments: 2

Patch Set 3 : Address Nat's comments #

Patch Set 4 : New approach + test infrastructure #

Total comments: 10

Patch Set 5 : Sane approach + tests #

Total comments: 4

Patch Set 6 : Address Nat's comments #

Total comments: 2

Patch Set 7 : Got rid of unnecessary fake #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -67 lines) Patch
M tools/telemetry/telemetry/benchmark.py View 1 2 3 4 3 chunks +22 lines, -11 lines 0 comments Download
M tools/telemetry/telemetry/page/page_measurement_unittest_base.py View 1 2 3 4 3 chunks +10 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/page/page_runner.py View 1 2 3 4 5 chunks +5 lines, -7 lines 0 comments Download
M tools/telemetry/telemetry/page/page_runner_unittest.py View 1 2 3 4 22 chunks +42 lines, -20 lines 0 comments Download
M tools/telemetry/telemetry/page/profile_generator.py View 1 2 3 4 3 chunks +6 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/page/record_wpr.py View 1 2 3 4 5 5 chunks +14 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/page/record_wpr_unittest.py View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/results/html_output_formatter.py View 1 2 3 4 5 2 chunks +6 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/results/html_output_formatter_unittest.py View 1 2 3 4 5 5 chunks +7 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/results/json_output_formatter.py View 1 2 3 4 5 2 chunks +11 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/results/json_output_formatter_unittest.py View 1 2 3 4 5 6 5 chunks +6 lines, -6 lines 0 comments Download
M tools/telemetry/telemetry/results/results_options.py View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
eakuefner
6 years, 5 months ago (2014-07-11 17:46:58 UTC) #1
nduca
why not make the test object available to the reuslts object upon construction?
6 years, 5 months ago (2014-07-11 18:57:33 UTC) #2
eakuefner
On 2014/07/11 18:57:33, nduca wrote: > why not make the test object available to the ...
6 years, 5 months ago (2014-07-11 20:31:55 UTC) #3
nduca
https://codereview.chromium.org/386943007/diff/1/tools/telemetry/telemetry/page/page_runner.py File tools/telemetry/telemetry/page/page_runner.py (right): https://codereview.chromium.org/386943007/diff/1/tools/telemetry/telemetry/page/page_runner.py#newcode342 tools/telemetry/telemetry/page/page_runner.py:342: results.page_test_name = test.Name() + '.' + page_set.Name() only test.name ...
6 years, 5 months ago (2014-07-11 20:39:21 UTC) #4
eakuefner
https://codereview.chromium.org/386943007/diff/1/tools/telemetry/telemetry/page/page_runner.py File tools/telemetry/telemetry/page/page_runner.py (right): https://codereview.chromium.org/386943007/diff/1/tools/telemetry/telemetry/page/page_runner.py#newcode342 tools/telemetry/telemetry/page/page_runner.py:342: results.page_test_name = test.Name() + '.' + page_set.Name() On 2014/07/11 ...
6 years, 5 months ago (2014-07-11 21:25:59 UTC) #5
eakuefner
PTAL. New approach that lifts logic for creating results objects and makes results constructors take ...
6 years, 5 months ago (2014-07-15 22:37:36 UTC) #6
nduca
https://codereview.chromium.org/386943007/diff/60001/tools/telemetry/telemetry/benchmark.py File tools/telemetry/telemetry/benchmark.py (right): https://codereview.chromium.org/386943007/diff/60001/tools/telemetry/telemetry/benchmark.py#newcode65 tools/telemetry/telemetry/benchmark.py:65: def Run(self, args): rename args finder_options https://codereview.chromium.org/386943007/diff/60001/tools/telemetry/telemetry/benchmark.py#newcode69 tools/telemetry/telemetry/benchmark.py:69: test ...
6 years, 5 months ago (2014-07-15 23:10:36 UTC) #7
eakuefner
PTAL: hopefully we are finally on the right track thanks to the page_runner refactor by ...
6 years, 4 months ago (2014-08-04 19:40:11 UTC) #8
nduca
https://codereview.chromium.org/386943007/diff/80001/tools/telemetry/telemetry/page/record_wpr.py File tools/telemetry/telemetry/page/record_wpr.py (right): https://codereview.chromium.org/386943007/diff/80001/tools/telemetry/telemetry/page/record_wpr.py#newcode147 tools/telemetry/telemetry/page/record_wpr.py:147: benchmark_metadata = benchmark.BenchmarkMetadata('') record_wpr and ditch the todo? https://codereview.chromium.org/386943007/diff/80001/tools/telemetry/telemetry/results/results_options.py ...
6 years, 4 months ago (2014-08-04 19:47:17 UTC) #9
eakuefner
https://codereview.chromium.org/386943007/diff/80001/tools/telemetry/telemetry/page/record_wpr.py File tools/telemetry/telemetry/page/record_wpr.py (right): https://codereview.chromium.org/386943007/diff/80001/tools/telemetry/telemetry/page/record_wpr.py#newcode147 tools/telemetry/telemetry/page/record_wpr.py:147: benchmark_metadata = benchmark.BenchmarkMetadata('') On 2014/08/04 19:47:17, nduca wrote: > ...
6 years, 4 months ago (2014-08-04 20:03:57 UTC) #10
nduca
lgtm but no fake plz https://codereview.chromium.org/386943007/diff/100001/tools/telemetry/telemetry/results/json_output_formatter_unittest.py File tools/telemetry/telemetry/results/json_output_formatter_unittest.py (right): https://codereview.chromium.org/386943007/diff/100001/tools/telemetry/telemetry/results/json_output_formatter_unittest.py#newcode36 tools/telemetry/telemetry/results/json_output_formatter_unittest.py:36: self._formatter = json_output_formatter.JsonOutputFormatter(self._output, do ...
6 years, 4 months ago (2014-08-04 20:05:52 UTC) #11
eakuefner
https://codereview.chromium.org/386943007/diff/100001/tools/telemetry/telemetry/results/json_output_formatter_unittest.py File tools/telemetry/telemetry/results/json_output_formatter_unittest.py (right): https://codereview.chromium.org/386943007/diff/100001/tools/telemetry/telemetry/results/json_output_formatter_unittest.py#newcode36 tools/telemetry/telemetry/results/json_output_formatter_unittest.py:36: self._formatter = json_output_formatter.JsonOutputFormatter(self._output, On 2014/08/04 20:05:52, nduca wrote: > ...
6 years, 4 months ago (2014-08-04 20:13:07 UTC) #12
eakuefner
The CQ bit was checked by eakuefner@chromium.org
6 years, 4 months ago (2014-08-04 20:13:13 UTC) #13
eakuefner
The CQ bit was unchecked by eakuefner@chromium.org
6 years, 4 months ago (2014-08-04 20:13:18 UTC) #14
eakuefner
The CQ bit was checked by eakuefner@chromium.org
6 years, 4 months ago (2014-08-04 23:52:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eakuefner@chromium.org/386943007/120001
6 years, 4 months ago (2014-08-04 23:54:30 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-05 03:27:17 UTC) #17
commit-bot: I haz the power
6 years, 4 months ago (2014-08-05 07:50:58 UTC) #18
Message was sent while issue was closed.
Change committed as 287483

Powered by Google App Engine
This is Rietveld 408576698