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

Issue 22754003: Refactor BenchmarkResult.Add to take enum for data_type (Closed)

Created:
7 years, 4 months ago by RyanS
Modified:
4 years, 2 months ago
Reviewers:
rschoen, bulach, dtu
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Visibility:
Public.

Description

Refactor BenchmarkResult.Add to take an enum for data_type BUG=168754

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 3

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Total comments: 2

Patch Set 17 : #

Patch Set 18 : #

Patch Set 19 : #

Patch Set 20 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -286 lines) Patch
M build/android/pylib/perf_tests_helper.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -203 lines 0 comments Download
M tools/perf/benchmarks/dom_perf.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +5 lines, -1 line 0 comments Download
M tools/perf/benchmarks/kraken.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +6 lines, -1 line 0 comments Download
M tools/perf/benchmarks/octane.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +6 lines, -2 lines 0 comments Download
M tools/perf/benchmarks/spaceport.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +2 lines, -1 line 0 comments Download
M tools/perf/benchmarks/sunspider.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +6 lines, -1 line 0 comments Download
M tools/perf/measurements/dromaeo.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +6 lines, -2 lines 0 comments Download
M tools/perf/measurements/rasterize_and_record.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +9 lines, -4 lines 0 comments Download
M tools/perf/measurements/tab_switching.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +5 lines, -1 line 0 comments Download
M tools/perf/metrics/media.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +6 lines, -1 line 0 comments Download
M tools/perf/metrics/memory.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +12 lines, -5 lines 0 comments Download
M tools/perf/metrics/smoothness.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +20 lines, -16 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/android_browser_finder.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/android_platform_backend.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +4 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/page/buildbot_page_measurement_results.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +18 lines, -10 lines 0 comments Download
M tools/telemetry/telemetry/page/buildbot_page_measurement_results_unittest.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +10 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/page/csv_page_measurement_results_unittest.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +7 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/page/html_page_measurement_results.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +4 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/page/page_measurement_results.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +11 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/page/page_measurement_results_unittest.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +12 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/page/page_measurement_value.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +10 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/page/page_runner_repeat.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
D tools/telemetry/telemetry/page/perf_tests_helper.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -17 lines 0 comments Download
A tools/telemetry/telemetry/page/result_data_type.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
rschoen
7 years, 4 months ago (2013-08-12 21:36:29 UTC) #1
tonyg
dtu should take a look at this.
7 years, 4 months ago (2013-08-12 21:51:59 UTC) #2
dtu
https://codereview.chromium.org/22754003/diff/13001/tools/telemetry/telemetry/page/results_data_type.py File tools/telemetry/telemetry/page/results_data_type.py (right): https://codereview.chromium.org/22754003/diff/13001/tools/telemetry/telemetry/page/results_data_type.py#newcode5 tools/telemetry/telemetry/page/results_data_type.py:5: class DataType: Seems wordy. Let's just get rid of ...
7 years, 4 months ago (2013-08-12 23:29:25 UTC) #3
nduca
An example of a ptyhon-not-an-enum-but-kinda is in timeline_metrics, iirw
7 years, 4 months ago (2013-08-12 23:30:55 UTC) #4
rschoen
On 2013/08/12 23:29:25, Dave Tu wrote: > https://codereview.chromium.org/22754003/diff/13001/tools/telemetry/telemetry/page/results_data_type.py > File tools/telemetry/telemetry/page/results_data_type.py (right): > > https://codereview.chromium.org/22754003/diff/13001/tools/telemetry/telemetry/page/results_data_type.py#newcode5 ...
7 years, 4 months ago (2013-08-16 00:23:21 UTC) #5
dtu
Cool, lgtm with nits. https://codereview.chromium.org/22754003/diff/29001/build/android/pylib/perf_tests_helper.py File build/android/pylib/perf_tests_helper.py (right): https://codereview.chromium.org/22754003/diff/29001/build/android/pylib/perf_tests_helper.py#newcode108 build/android/pylib/perf_tests_helper.py:108: assert result_data_type.IsValidType(result_type), \ nit: use ...
7 years, 4 months ago (2013-08-16 00:40:01 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rschoen@chromium.org/22754003/41001
7 years, 4 months ago (2013-08-16 00:48:44 UTC) #7
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test on builder ...
7 years, 4 months ago (2013-08-16 15:23:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rschoen@chromium.org/22754003/41001
7 years, 4 months ago (2013-08-16 17:14:31 UTC) #9
commit-bot: I haz the power
Failed to apply patch for tools/perf/metrics/histogram.py: While running patch -p0 --forward --force --no-backup-if-mismatch; can't find ...
7 years, 4 months ago (2013-08-16 17:14:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rschoen@chromium.org/22754003/66001
7 years, 4 months ago (2013-08-16 17:57:51 UTC) #11
commit-bot: I haz the power
Failed to apply patch for tools/perf/metrics/histogram.py: While running patch -p0 --forward --force --no-backup-if-mismatch; can't find ...
7 years, 4 months ago (2013-08-16 17:58:17 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rschoen@chromium.org/22754003/83001
7 years, 4 months ago (2013-08-16 20:01:26 UTC) #13
rschoen
Hey Marcus, would you mind taking a look at the android file? Also, any idea ...
7 years, 4 months ago (2013-08-16 23:49:08 UTC) #14
bulach
hey ryan! thanks for doing this! whilst I fully understand my suggestion is not totally ...
7 years, 4 months ago (2013-08-19 08:37:57 UTC) #15
bulach
7 years, 4 months ago (2013-08-19 08:43:00 UTC) #16
https://codereview.chromium.org/22754003/diff/101001/build/android/pylib/perf...
File build/android/pylib/perf_tests_helper.py (right):

https://codereview.chromium.org/22754003/diff/101001/build/android/pylib/perf...
build/android/pylib/perf_tests_helper.py:8: import android_commands
forgot to mention, I think this is leftover from previous refactorings, so it
should be reasonably straightforward to put this and result_data_type (probably
as perf_result_data_type) under build/util/lib...

Powered by Google App Engine
This is Rietveld 408576698