Commit 87bb1840 authored by lzheng@chromium.org's avatar lzheng@chromium.org

Enable spdy to 95%, npn only to 5%.

BUG=48964
TEST=none
Review URL: http://codereview.chromium.org/3115023

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56915 0039d316-1c4b-4281-b951-d872f2087c98
parent df0f6e8f
...@@ -344,15 +344,8 @@ void BrowserMainParts::SpdyFieldTrial() { ...@@ -344,15 +344,8 @@ void BrowserMainParts::SpdyFieldTrial() {
const FieldTrial::Probability kSpdyDivisor = 1000; const FieldTrial::Probability kSpdyDivisor = 1000;
// To enable 100% npn_with_spdy, set npnhttp_probability = 0 and set // To enable 100% npn_with_spdy, set npnhttp_probability = 0 and set
// npnspdy_probability = FieldTrial::kAllRemainingProbability. // npnspdy_probability = FieldTrial::kAllRemainingProbability.
// To collect stats, make sure that FieldTrial are distributed among FieldTrial::Probability npnhttp_probability = 50;
// all the three groups: FieldTrial::Probability npnspdy_probability = 950;
// npn_with_spdy : 50%, npn_with_http : 25%, default (no npn, no spdy): 25%.
// a. npn_with_spdy and default: these are used to collect stats for
// alternate protocol with spdy vs. no alternate protocol case.
// b. npn_with_spdy and npn_with_http: these are used to collect stats for
// https vs. https over spdy case.
FieldTrial::Probability npnhttp_probability = 250;
FieldTrial::Probability npnspdy_probability = 500;
scoped_refptr<FieldTrial> trial = scoped_refptr<FieldTrial> trial =
new FieldTrial("SpdyImpact", kSpdyDivisor); new FieldTrial("SpdyImpact", kSpdyDivisor);
// npn with only http support, no spdy. // npn with only http support, no spdy.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment