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

Issue 209853009: Refactor perf bisect script _CalculateConfidence method. (Closed)

Created:
6 years, 9 months ago by qyearsley
Modified:
6 years, 8 months ago
Reviewers:
prasadv, shatch
CC:
chromium-reviews, ghost stip (do not use)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Refactor perf bisect script _CalculateConfidence method. - Adding docstrings - Factoring out _CalculateBounds method - Bug fix??? BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260241

Patch Set 1 #

Total comments: 9

Patch Set 2 : data -> values_list, current_mean -> mean #

Patch Set 3 : Refactor CalculateConfidence and add a unit test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -48 lines) Patch
M tools/bisect-perf-regression.py View 1 2 6 chunks +73 lines, -48 lines 0 comments Download
A tools/bisect-perf-regression_test.py View 1 2 1 chunk +79 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
qyearsley
Hey guys, I was just trying to figure out what the bisect script "confidence" means, ...
6 years, 9 months ago (2014-03-25 02:25:33 UTC) #1
prasadv
https://codereview.chromium.org/209853009/diff/1/tools/bisect-perf-regression.py File tools/bisect-perf-regression.py (right): https://codereview.chromium.org/209853009/diff/1/tools/bisect-perf-regression.py#newcode2826 tools/bisect-perf-regression.py:2826: for values in data: s/data/values_list https://codereview.chromium.org/209853009/diff/1/tools/bisect-perf-regression.py#newcode2829 tools/bisect-perf-regression.py:2829: bounds[0] = ...
6 years, 9 months ago (2014-03-25 16:43:47 UTC) #2
qyearsley
Thanks Prasad :-) https://codereview.chromium.org/209853009/diff/1/tools/bisect-perf-regression.py File tools/bisect-perf-regression.py (right): https://codereview.chromium.org/209853009/diff/1/tools/bisect-perf-regression.py#newcode2826 tools/bisect-perf-regression.py:2826: for values in data: On 2014/03/25 ...
6 years, 9 months ago (2014-03-25 17:31:19 UTC) #3
shatch
https://codereview.chromium.org/209853009/diff/1/tools/bisect-perf-regression.py File tools/bisect-perf-regression.py (right): https://codereview.chromium.org/209853009/diff/1/tools/bisect-perf-regression.py#newcode2830 tools/bisect-perf-regression.py:2830: bounds[1] = max(current_mean, bounds[1]) Nice catch! Yeah that should ...
6 years, 9 months ago (2014-03-25 19:56:21 UTC) #4
shatch
https://codereview.chromium.org/209853009/diff/1/tools/bisect-perf-regression.py File tools/bisect-perf-regression.py (right): https://codereview.chromium.org/209853009/diff/1/tools/bisect-perf-regression.py#newcode2830 tools/bisect-perf-regression.py:2830: bounds[1] = max(current_mean, bounds[1]) BTW, if you want to ...
6 years, 9 months ago (2014-03-25 19:58:35 UTC) #5
qyearsley
On 2014/03/25 19:58:35, shatch wrote: > https://codereview.chromium.org/209853009/diff/1/tools/bisect-perf-regression.py > File tools/bisect-perf-regression.py (right): > > https://codereview.chromium.org/209853009/diff/1/tools/bisect-perf-regression.py#newcode2830 > ...
6 years, 9 months ago (2014-03-25 20:49:03 UTC) #6
shatch
On 2014/03/25 20:49:03, qyearsley wrote: > On 2014/03/25 19:58:35, shatch wrote: > > > https://codereview.chromium.org/209853009/diff/1/tools/bisect-perf-regression.py ...
6 years, 9 months ago (2014-03-26 17:55:48 UTC) #7
qyearsley
On 2014/03/26 17:55:48, shatch wrote: > On 2014/03/25 20:49:03, qyearsley wrote: > > On 2014/03/25 ...
6 years, 9 months ago (2014-03-26 18:48:56 UTC) #8
shatch
On 2014/03/26 18:48:56, qyearsley wrote: > On 2014/03/26 17:55:48, shatch wrote: > > On 2014/03/25 ...
6 years, 9 months ago (2014-03-27 18:57:33 UTC) #9
qyearsley
On 2014/03/27 18:57:33, shatch wrote: > On 2014/03/26 18:48:56, qyearsley wrote: > > On 2014/03/26 ...
6 years, 9 months ago (2014-03-27 22:02:08 UTC) #10
shatch
On 2014/03/27 22:02:08, qyearsley wrote: > On 2014/03/27 18:57:33, shatch wrote: > > On 2014/03/26 ...
6 years, 9 months ago (2014-03-28 16:17:52 UTC) #11
qyearsley
The CQ bit was checked by qyearsley@chromium.org
6 years, 9 months ago (2014-03-28 17:06:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qyearsley@chromium.org/209853009/30001
6 years, 9 months ago (2014-03-28 17:07:05 UTC) #13
commit-bot: I haz the power
Change committed as 260241
6 years, 9 months ago (2014-03-28 19:37:30 UTC) #14
qyearsley
6 years, 8 months ago (2014-04-01 16:36:18 UTC) #15
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/218613012/ by qyearsley@chromium.org.

The reason for reverting is: Caused issue 358622.

The bug was that at line 2832 I used a tuple instead of a list, then later I
tried to assign to a member of the tuple, but Python tuples are immutable..

Powered by Google App Engine
This is Rietveld 408576698