diff options
author | lzheng@chromium.org <lzheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-04 22:11:42 +0000 |
---|---|---|
committer | lzheng@chromium.org <lzheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-04 22:11:42 +0000 |
commit | 66dc0bdb78955160e52004da17ebab021be64e0c (patch) | |
tree | 911a4d415a2e555e23dcb5f9c83e5c761786a59a /chrome/browser | |
parent | 8d2ef083d83f6179acb4f6e831db4b0d90045223 (diff) | |
download | chromium_src-66dc0bdb78955160e52004da17ebab021be64e0c.zip chromium_src-66dc0bdb78955160e52004da17ebab021be64e0c.tar.gz chromium_src-66dc0bdb78955160e52004da17ebab021be64e0c.tar.bz2 |
Enable 25% of the users use npn_with_spdy when possible,
another 25% use npn_with_http to compare performance.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2683001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48981 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/browser_main.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index 2d47ccf4..fdb68b4 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -730,10 +730,10 @@ int BrowserMain(const MainFunctionParams& parameters) { } else { const FieldTrial::Probability kSpdyDivisor = 1000; // TODO(lzheng): Increase these values to enable more spdy tests. - // To enable 100% npn_with_spdy, set kNpnHttpProbability = 0 and set - // kNpnSpdyProbability = FieldTrial::kAllRemainingProbability. - FieldTrial::Probability npnhttp_probability = 0; // 0.0% - FieldTrial::Probability npnspdy_probability = 0; // 0.0% + // To enable 100% npn_with_spdy, set npnhttp_probability = 0 and set + // npnspdy_probability = FieldTrial::kAllRemainingProbability. + FieldTrial::Probability npnhttp_probability = 250; // 25% + FieldTrial::Probability npnspdy_probability = 250; // 25% #if defined(OS_WIN) // Enable the A/B test for SxS. SxS is only available on windows std::wstring channel; |