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

Issue 11413144: Fix histogram printing for Telemetry tests. (Closed)

Created:
8 years, 1 month ago by marja
Modified:
8 years ago
Reviewers:
bulach
CC:
chromium-reviews, ilevy+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, peter+watch_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org, Nico
Visibility:
Public.

Description

Fix histogram printing for Telemetry tests. The previous version was printing out only the first histogram. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=169327 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=169631

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : Fixed #

Total comments: 2

Patch Set 4 : Code review (bulach) #

Total comments: 1

Patch Set 5 : fixed fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -18 lines) Patch
M build/android/pylib/perf_tests_helper.py View 1 2 3 4 2 chunks +31 lines, -18 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
marja
My CL http://codereview.chromium.org/11340037 was horribly wrong *facepalm*. Can you have a look at this fix?
8 years, 1 month ago (2012-11-22 17:56:45 UTC) #1
bulach
thanks marja! one question below: https://codereview.chromium.org/11413144/diff/2001/build/android/pylib/perf_tests_helper.py File build/android/pylib/perf_tests_helper.py (right): https://codereview.chromium.org/11413144/diff/2001/build/android/pylib/perf_tests_helper.py#newcode80 build/android/pylib/perf_tests_helper.py:80: result_type: A tri-state that ...
8 years, 1 month ago (2012-11-22 18:21:59 UTC) #2
marja
Thanks for comments, fixed now, please take another look. https://codereview.chromium.org/11413144/diff/2001/build/android/pylib/perf_tests_helper.py File build/android/pylib/perf_tests_helper.py (right): https://codereview.chromium.org/11413144/diff/2001/build/android/pylib/perf_tests_helper.py#newcode80 build/android/pylib/perf_tests_helper.py:80: ...
8 years, 1 month ago (2012-11-23 09:08:32 UTC) #3
bulach
lgtm, thanks! just one small suggestion below: https://codereview.chromium.org/11413144/diff/6002/build/android/pylib/perf_tests_helper.py File build/android/pylib/perf_tests_helper.py (right): https://codereview.chromium.org/11413144/diff/6002/build/android/pylib/perf_tests_helper.py#newcode80 build/android/pylib/perf_tests_helper.py:80: result_type: Accepts ...
8 years, 1 month ago (2012-11-23 10:09:53 UTC) #4
marja
Thanks for review! https://codereview.chromium.org/11413144/diff/6002/build/android/pylib/perf_tests_helper.py File build/android/pylib/perf_tests_helper.py (right): https://codereview.chromium.org/11413144/diff/6002/build/android/pylib/perf_tests_helper.py#newcode80 build/android/pylib/perf_tests_helper.py:80: result_type: Accepts values of ['unimportant', 'default', ...
8 years, 1 month ago (2012-11-23 10:36:02 UTC) #5
tonyg
This patch broke the kraken benchmark. See: http://build.chromium.org/p/chromium.perf/builders/Mac10.6%20Perf%282%29/builds/24142/steps/kraken/logs/stdio
8 years ago (2012-11-26 18:19:23 UTC) #6
marja
Ouch! I thought it couldn't happen! I'll fix this tomorrow. Meanwhile, would you like to ...
8 years ago (2012-11-26 19:52:24 UTC) #7
gone
On 2012/11/26 19:52:24, marja wrote: > Ouch! I thought it couldn't happen! > > I'll ...
8 years ago (2012-11-26 21:57:30 UTC) #8
gone
On 2012/11/26 21:57:30, dfalcantara wrote: > On 2012/11/26 19:52:24, marja wrote: > > Ouch! I ...
8 years ago (2012-11-26 21:59:52 UTC) #9
marja
8 years ago (2012-11-27 10:48:30 UTC) #10
Thanks for the revert, I'm committing a fixed version now.

https://codereview.chromium.org/11413144/diff/1002/build/android/pylib/perf_t...
File build/android/pylib/perf_tests_helper.py (right):

https://codereview.chromium.org/11413144/diff/1002/build/android/pylib/perf_t...
build/android/pylib/perf_tests_helper.py:64: avg = values[0]
This was the addition which broke the kraken benchmark. The values here is [[1,
2, 3]], so, value will be [1, 2, 3], but avg shouldn't be [1, 2, 3].

I removed this line altogether, we can live without the avg information for
histograms, we're mostly interested in the percentiles anyway.

Powered by Google App Engine
This is Rietveld 408576698