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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 16514008: Add metrics for calculating precision/recall of link navigation pre-connect triggers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix BrowserCommandTests. Created 7 years, 5 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 | « content/public/common/page_transition_types_list.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index fecd8a04c4665a07428dc687595e45e57840bd57..77a2b31af25a2522224d69808ebd0bce077988f0 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -6513,11 +6513,19 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="Net.PreconnectedLinkNavigation" enum="PreconnectedNavigation">
+ <summary>
+ Indicate whether a link navigation was preceded by a recent pre-connect
+ trigger (within 10 seconds). There is a high chance that loading the page
+ used a preconnected TCP session.
+ </summary>
+</histogram>
+
<histogram name="Net.PreconnectedNavigation" enum="PreconnectedNavigation">
<summary>
- Indicate whether the navigation was preceded by a recent pre-connect
- (pre-connect within 10 seconds). There is a high chance that loading the
- page used a preconnected TCP session.
+ Indicate whether a URLRequest was preceded by a recent pre-connect trigger
+ (within 10 seconds). There is a high chance that loading the resource used a
+ preconnected TCP session.
</summary>
</histogram>
@@ -6570,6 +6578,14 @@ other types of suffix sets.
</details>
</histogram>
+<histogram name="Net.PreconnectTriggerused" enum="PreconnectTriggerUsed">
Ilya Sherman 2013/08/02 23:11:58 nit: "used" -> "Used"
kouhei (in TOK) 2013/08/05 01:13:30 Done.
+ <summary>
+ Indicate whether if a preconnect trigger is followed by a resource request
+ (from link navigations) to the host or not. This is to measure precision of
+ link-based preconnect triggers.
+ </summary>
+</histogram>
+
<histogram name="Net.PreconnectUtilization" enum="NetPreconnectUtilization">
<obsolete>
Sourced data corrected, and replaced by NetPreconnectUtilization2
@@ -20093,8 +20109,8 @@ other types of suffix sets.
</enum>
<enum name="PreconnectedNavigation" type="int">
- <int value="0" label="Page nav. preceded by a pre-connect"/>
- <int value="1" label="No recent pre-connect to the page"/>
+ <int value="0" label="No recent pre-connect to the page"/>
+ <int value="1" label="Page nav. preceded by a pre-connect"/>
Ilya Sherman 2013/08/02 23:11:58 Hmm, are you sure that this enum was previously in
kouhei (in TOK) 2013/08/05 01:13:30 Yes, this was opposite. https://code.google.com/p/
</enum>
<enum name="PreconnectMotivation" type="int">
@@ -20117,6 +20133,11 @@ other types of suffix sets.
<int value="2" label="TOO_NEW"/>
</enum>
+<enum name="PreconnectTriggerUsed" type="int">
+ <int value="0" label="The pre-connect triggered host was not accessed"/>
+ <int value="1" label="The pre-connect triggered host was accessed"/>
+</enum>
+
<enum name="PrerenderFinalStatus" type="int">
<int value="0" label="USED"/>
<int value="1" label="TIMED_OUT"/>
@@ -20826,6 +20847,12 @@ other types of suffix sets.
<int value="2" label="Dismiss"/>
</enum>
+<enum name="SimpleCache.FileDescriptorLimitStatus" type="int">
+ <int value="0" label="Unsupported"/>
+ <int value="1" label="Supported but failed"/>
+ <int value="2" label="Succeeded"/>
+</enum>
+
<enum name="SimpleCacheHeaderSizeChange" type="int">
<int value="0" label="Written for the first time"/>
<int value="1" label="Rewritten with same size"/>
@@ -20834,12 +20861,6 @@ other types of suffix sets.
<int value="4" label="Unexpected header stream write"/>
</enum>
-<enum name="SimpleCache.FileDescriptorLimitStatus" type="int">
- <int value="0" label="Unsupported"/>
- <int value="1" label="Supported but failed"/>
- <int value="2" label="Succeeded"/>
-</enum>
-
<enum name="SimpleCacheIndexInitializeMethod" type="int">
<int value="0" label="Directory Scan"/>
<int value="1" label="Index File"/>
« no previous file with comments | « content/public/common/page_transition_types_list.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698