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

Issue 6213001: disable field trials if the build is 30 days or older (Closed)

Created:
9 years, 11 months ago by raman
Modified:
9 years, 7 months ago
Visibility:
Public.

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 5

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 2

Patch Set 10 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -6 lines) Patch
M base/metrics/field_trial.h View 1 2 3 4 5 6 7 8 9 3 chunks +34 lines, -0 lines 0 comments Download
M base/metrics/field_trial.cc View 1 2 3 4 5 6 7 8 9 7 chunks +40 lines, -4 lines 0 comments Download
M base/metrics/field_trial_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +17 lines, -1 line 0 comments Download
M chrome/browser/net/websocket_experiment/websocket_experiment_runner.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/render_thread.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M net/disk_cache/backend_impl.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
raman
Hi Jim, This is a first cut at disabling the field trials. I still have ...
9 years, 11 months ago (2011-01-09 04:18:14 UTC) #1
jar (doing other things)
I was a little concerned about the user that had a funky clock. I'm not ...
9 years, 11 months ago (2011-01-09 07:00:04 UTC) #2
rtenneti
Hi Jim, Made all the changes you had suggested (I am not 100% sure if ...
9 years, 11 months ago (2011-01-09 23:16:42 UTC) #3
rtenneti
Hi Jim, Added a routine to cache if we need to disable field trial or ...
9 years, 11 months ago (2011-01-10 05:38:37 UTC) #4
rtenneti
Hi Jim, Made a small change to the comment. Sorry for the extra uploads. thanks, ...
9 years, 11 months ago (2011-01-10 05:51:14 UTC) #5
rtenneti
Hi Jim, Fixed the unit tests and tested the unit tests. thanks, raman
9 years, 11 months ago (2011-01-10 19:35:16 UTC) #6
jar (doing other things)
http://codereview.chromium.org/6213001/diff/17001/base/metrics/field_trial.h File base/metrics/field_trial.h (right): http://codereview.chromium.org/6213001/diff/17001/base/metrics/field_trial.h#newcode99 base/metrics/field_trial.h:99: // disable_field_trail_ to true, if the difference between build ...
9 years, 11 months ago (2011-01-10 22:01:21 UTC) #7
jar (doing other things)
http://codereview.chromium.org/6213001/diff/23001/base/metrics/field_trial_unittest.cc File base/metrics/field_trial_unittest.cc (right): http://codereview.chromium.org/6213001/diff/23001/base/metrics/field_trial_unittest.cc#newcode177 base/metrics/field_trial_unittest.cc:177: EXPECT_EQ(winner, trial->group_name()); Why is this line repeated? What was ...
9 years, 11 months ago (2011-01-10 22:03:18 UTC) #8
rtenneti
Hi Jim, Made all the changes you had suggested. Used "UsageTimeout" and that seems to ...
9 years, 11 months ago (2011-01-10 22:48:03 UTC) #9
rvargas (doing something else)
What problem are we actually trying to solve? It seems that we never have a ...
9 years, 11 months ago (2011-01-12 19:25:14 UTC) #10
jar (doing other things)
9 years, 11 months ago (2011-01-13 00:04:54 UTC) #11
http://codereview.chromium.org/6213001/diff/45001/net/disk_cache/backend_impl.cc
File net/disk_cache/backend_impl.cc (right):

http://codereview.chromium.org/6213001/diff/45001/net/disk_cache/backend_impl...
net/disk_cache/backend_impl.cc:186: base::FieldTrial::kAllRemainingProbability);
 // 90 % control.
As per our discussion....

We need some way to establish what a "reasonable" default would be.  The current
hack is to use the "all remaining probability" group to signal that.  Raman may
end up formalizing this in the constructor (as a new argument set), and that may
allow us to effectively reduce or turn-off trials under a variety of conditions
(old trials? reduce trial sets in Stable and beta?).  

To start any of this, we need a clear understanding of a "default" thing to do
when we effectively disable a trial.

On 2011/01/12 19:25:14, rvargas wrote:
> This is not the same. The experiment has a control group, otherwise it is not
> possible to really make any assertion about what's going on with the profiles
> that are part of the experiment.
> 
> Why the need to have an extra group with all remaining users? It seems that it
> only adds overhead (+ noise) everywhere.

Powered by Google App Engine
This is Rietveld 408576698