summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-15 23:05:56 +0000
committermbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-15 23:05:56 +0000
commit150ca3940c2b9f7b8f8cb2732ffc5d57f46b94e0 (patch)
treeb835ca8c4d991e513dc31461bfdef4a1586ef2e5 /net
parentadea06580fdeed989187732f93bd7fc8b726ef0c (diff)
downloadchromium_src-150ca3940c2b9f7b8f8cb2732ffc5d57f46b94e0.zip
chromium_src-150ca3940c2b9f7b8f8cb2732ffc5d57f46b94e0.tar.gz
chromium_src-150ca3940c2b9f7b8f8cb2732ffc5d57f46b94e0.tar.bz2
Remove the AsyncSlowStart experiment
BUG=30144 TEST=none Review URL: http://codereview.chromium.org/491056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34620 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/http/http_network_transaction.cc12
-rw-r--r--net/socket/tcp_client_socket_win.cc18
2 files changed, 0 insertions, 30 deletions
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
index 7ca82e38..41df85f 100644
--- a/net/http/http_network_transaction.cc
+++ b/net/http/http_network_transaction.cc
@@ -1150,18 +1150,6 @@ void HttpNetworkTransaction::LogTransactionConnectedMetrics() const {
total_duration,
base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10),
100);
-
- // Also record for our field trial.
- static bool use_async_tcp(FieldTrialList::Find("AsyncSlowStart") &&
- !FieldTrialList::Find("AsyncSlowStart")->group_name().empty());
- if (use_async_tcp) {
- UMA_HISTOGRAM_CLIPPED_TIMES(
- FieldTrial::MakeName("Net.Transaction_Connected_New",
- "AsyncSlowStart").data(),
- total_duration,
- base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10),
- 100);
- }
}
// Currently, non-zero priority requests are frame or sub-frame resource
diff --git a/net/socket/tcp_client_socket_win.cc b/net/socket/tcp_client_socket_win.cc
index bfd1981..91a1212 100644
--- a/net/socket/tcp_client_socket_win.cc
+++ b/net/socket/tcp_client_socket_win.cc
@@ -6,7 +6,6 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
-#include "base/field_trial.h" // for SlowStart trial
#include "base/memory_debug.h"
#include "base/stats_counters.h"
#include "base/string_util.h"
@@ -150,9 +149,6 @@ class TCPClientSocketWin::Core : public base::RefCounted<Core> {
// Throttle the read size based on our current slow start state.
// Returns the throttled read size.
int ThrottleReadSize(int size) {
- if (!use_slow_start_throttle_)
- return size;
-
if (slow_start_throttle_ < kMaxSlowStartThrottle) {
size = std::min(size, slow_start_throttle_);
slow_start_throttle_ *= 2;
@@ -209,15 +205,9 @@ class TCPClientSocketWin::Core : public base::RefCounted<Core> {
static const int kMaxSlowStartThrottle = 32 * kInitialSlowStartThrottle;
int slow_start_throttle_;
- static bool use_slow_start_throttle_;
- static bool trial_initialized_;
-
DISALLOW_COPY_AND_ASSIGN(Core);
};
-bool TCPClientSocketWin::Core::use_slow_start_throttle_ = false;
-bool TCPClientSocketWin::Core::trial_initialized_ = false;
-
TCPClientSocketWin::Core::Core(
TCPClientSocketWin* socket)
: socket_(socket),
@@ -226,14 +216,6 @@ TCPClientSocketWin::Core::Core(
slow_start_throttle_(kInitialSlowStartThrottle) {
memset(&read_overlapped_, 0, sizeof(read_overlapped_));
memset(&write_overlapped_, 0, sizeof(write_overlapped_));
-
- // Initialize the AsyncSlowStart FieldTrial.
- if (!trial_initialized_) {
- trial_initialized_ = true;
- FieldTrial* trial = FieldTrialList::Find("AsyncSlowStart");
- if (trial && trial->group_name() == "_AsyncSlowStart")
- use_slow_start_throttle_ = true;
- }
}
TCPClientSocketWin::Core::~Core() {