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

Unified Diff: net/http/http_network_transaction.cc

Issue 2658006: Experiment for number of persistent connections to server... Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction.cc
===================================================================
--- net/http/http_network_transaction.cc (revision 49024)
+++ net/http/http_network_transaction.cc (working copy)
@@ -1599,6 +1599,18 @@
total_duration,
base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10),
100);
+
+ static bool use_conn_count_impact =
+ FieldTrialList::Find("ConnCountImpact") &&
+ !FieldTrialList::Find("ConnCountImpact")->group_name().empty();
+ if (use_conn_count_impact) {
+ UMA_HISTOGRAM_CLIPPED_TIMES(
+ FieldTrial::MakeName("Net.Transaction_Connected_New",
+ "ConnCountImpact"),
+ total_duration,
+ base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10),
+ 100);
+ }
}
// Currently, non-zero priority requests are frame or sub-frame resource
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698