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

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: styling only (no logic change) 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 7b4d26dddfcbc1d89717a0e0a2d05291d52a6f73..0558d74a0a2d155636c12b0350e87f0ec840b4a1 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -6423,11 +6423,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>
@@ -6480,6 +6488,14 @@ other types of suffix sets.
</details>
</histogram>
+<histogram name="Net.PreconnectTriggerused" enum="PreconnectTriggerUsed">
+ <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
@@ -19809,8 +19825,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"/>
</enum>
<enum name="PreconnectMotivation" type="int">
@@ -19833,6 +19849,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"/>

Powered by Google App Engine
This is Rietveld 408576698