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

Side by Side 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: PostTask Browser thr / add histograms.xml Created 7 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 unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 Copyright 2013 The Chromium Authors. All rights reserved. 2 Copyright 2013 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 6
7 <!-- 7 <!--
8 This file is used to generate a comprehensive list of Chrome histograms along 8 This file is used to generate a comprehensive list of Chrome histograms along
9 with a detailed description for each histogram. 9 with a detailed description for each histogram.
10 10
(...skipping 5320 matching lines...) Expand 10 before | Expand all | Expand 10 after
5331 <histogram name="Net.OSErrorsForGetAddrinfo_Win" 5331 <histogram name="Net.OSErrorsForGetAddrinfo_Win"
5332 enum="ErrorCodesGetaddrinfo_Win"> 5332 enum="ErrorCodesGetaddrinfo_Win">
5333 <summary> 5333 <summary>
5334 Positive error code that was returned by the system library 5334 Positive error code that was returned by the system library
5335 &quot;getaddrinfo()&quot;. 5335 &quot;getaddrinfo()&quot;.
5336 </summary> 5336 </summary>
5337 </histogram> 5337 </histogram>
5338 5338
5339 <histogram name="Net.PreconnectedNavigation" enum="PreconnectedNavigation"> 5339 <histogram name="Net.PreconnectedNavigation" enum="PreconnectedNavigation">
5340 <summary> 5340 <summary>
5341 Indicate whether the navigation was preceded by a recent pre-connect 5341 Indicate whether a link navigation was preceded by a recent pre-connect
5342 (pre-connect within 10 seconds). There is a high chance that loading the 5342 trigger (within 10 seconds). There is a high chance that loading the page
5343 page used a preconnected TCP session. 5343 used a preconnected TCP session.
5344 </summary> 5344 </summary>
5345 </histogram> 5345 </histogram>
5346 5346
5347 <histogram name="Net.PreconnectMotivation" enum="PreconnectMotivation"> 5347 <histogram name="Net.PreconnectMotivation" enum="PreconnectMotivation">
5348 <summary> 5348 <summary>
5349 When a preconnection is made, indicate what the motivation was. 5349 When a preconnection is made, indicate what the motivation was.
5350 </summary> 5350 </summary>
5351 <details> 5351 <details>
5352 Currently, the most common (only?) motivations are SELF_REFERAL, 5352 Currently, the most common (only?) motivations are SELF_REFERAL,
5353 LEARNED_REFERAL and OMNIBOX. The SELF_REFERAL indicates that we made sure a 5353 LEARNED_REFERAL and OMNIBOX. The SELF_REFERAL indicates that we made sure a
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
5386 The expected number of connections, times 100, that we'll make to a given 5386 The expected number of connections, times 100, that we'll make to a given
5387 subresource, based on learned history. 5387 subresource, based on learned history.
5388 </summary> 5388 </summary>
5389 <details> 5389 <details>
5390 By comparing this to thresholds, we decide if we will preconnect, 5390 By comparing this to thresholds, we decide if we will preconnect,
5391 preresolve, or do nothing. This histogram can be used to select those static 5391 preresolve, or do nothing. This histogram can be used to select those static
5392 thresholds. 5392 thresholds.
5393 </details> 5393 </details>
5394 </histogram> 5394 </histogram>
5395 5395
5396 <histogram name="Net.PreconnectTriggerused" enum="PreconnectTriggerUsed">
5397 <summary>
5398 Indicate whether if a preconnect trigger is followed by a resource request
5399 (from link navigations) to the host or not. This is to measure precision of
5400 link-based preconnect triggers.
5401 </summary>
5402 </histogram>
5403
5396 <histogram name="Net.PreconnectUtilization" enum="NetPreconnectUtilization"> 5404 <histogram name="Net.PreconnectUtilization" enum="NetPreconnectUtilization">
5397 <obsolete> 5405 <obsolete>
5398 Sourced data corrected, and replaced by NetPreconnectUtilization2 5406 Sourced data corrected, and replaced by NetPreconnectUtilization2
5399 </obsolete> 5407 </obsolete>
5400 <summary> 5408 <summary>
5401 Indicate final utilization for each attempted socket connection. 5409 Indicate final utilization for each attempted socket connection.
5402 </summary> 5410 </summary>
5403 <details> 5411 <details>
5404 We also include stats for non-speculative sockets. Some socket connections 5412 We also include stats for non-speculative sockets. Some socket connections
5405 may never connect, and others may never be used (as the user may abort 5413 may never connect, and others may never be used (as the user may abort
(...skipping 11654 matching lines...) Expand 10 before | Expand all | Expand 10 after
17060 <int value="5" label="5"/> 17068 <int value="5" label="5"/>
17061 </enum> 17069 </enum>
17062 17070
17063 <enum name="PowerBrightnessAdjust" type="int"> 17071 <enum name="PowerBrightnessAdjust" type="int">
17064 <int value="0" label="Brightness Down"/> 17072 <int value="0" label="Brightness Down"/>
17065 <int value="1" label="Brightness Up"/> 17073 <int value="1" label="Brightness Up"/>
17066 <int value="2" label="Brightness Absolute"/> 17074 <int value="2" label="Brightness Absolute"/>
17067 </enum> 17075 </enum>
17068 17076
17069 <enum name="PreconnectedNavigation" type="int"> 17077 <enum name="PreconnectedNavigation" type="int">
17070 <int value="0" label="Page nav. preceded by a pre-connect"/> 17078 <int value="0" label="No recent pre-connect to the page"/>
17071 <int value="1" label="No recent pre-connect to the page"/> 17079 <int value="1" label="Page nav. preceded by a pre-connect"/>
17072 </enum> 17080 </enum>
17073 17081
17074 <enum name="PreconnectMotivation" type="int"> 17082 <enum name="PreconnectMotivation" type="int">
17075 <int value="0" label="MOUSE_OVER_MOTIVATED"/> 17083 <int value="0" label="MOUSE_OVER_MOTIVATED"/>
17076 <int value="1" label="PAGE_SCAN_MOTIVATED"/> 17084 <int value="1" label="PAGE_SCAN_MOTIVATED"/>
17077 <int value="2" label="UNIT_TEST_MOTIVATED"/> 17085 <int value="2" label="UNIT_TEST_MOTIVATED"/>
17078 <int value="3" label="LINKED_MAX_MOTIVATED"/> 17086 <int value="3" label="LINKED_MAX_MOTIVATED"/>
17079 <int value="4" label="OMNIBOX_MOTIVATED"/> 17087 <int value="4" label="OMNIBOX_MOTIVATED"/>
17080 <int value="5" label="STARTUP_LIST_MOTIVATED"/> 17088 <int value="5" label="STARTUP_LIST_MOTIVATED"/>
17081 <int value="6" label="EARLY_LOAD_MOTIVATED"/> 17089 <int value="6" label="EARLY_LOAD_MOTIVATED"/>
17082 <int value="7" label="NO_PREFETCH_MOTIVATION"/> 17090 <int value="7" label="NO_PREFETCH_MOTIVATION"/>
17083 <int value="8" label="STATIC_REFERAL_MOTIVATED"/> 17091 <int value="8" label="STATIC_REFERAL_MOTIVATED"/>
17084 <int value="9" label="LEARNED_REFERAL_MOTIVATED"/> 17092 <int value="9" label="LEARNED_REFERAL_MOTIVATED"/>
17085 <int value="10" label="SELF_REFERAL_MOTIVATED"/> 17093 <int value="10" label="SELF_REFERAL_MOTIVATED"/>
17086 </enum> 17094 </enum>
17087 17095
17088 <enum name="PreconnectSubresourceEval" type="int"> 17096 <enum name="PreconnectSubresourceEval" type="int">
17089 <int value="0" label="PRECONNECTION"/> 17097 <int value="0" label="PRECONNECTION"/>
17090 <int value="1" label="PRERESOLUTION"/> 17098 <int value="1" label="PRERESOLUTION"/>
17091 <int value="2" label="TOO_NEW"/> 17099 <int value="2" label="TOO_NEW"/>
17092 </enum> 17100 </enum>
17093 17101
17102 <enum name="PreconnectTriggerUsed" type="int">
17103 <int value="0" label="The pre-connect triggered host was not accessed"/>
17104 <int value="1" label="The pre-connect triggered host was accessed"/>
17105 </enum>
17106
17094 <enum name="PrerenderFinalStatus" type="int"> 17107 <enum name="PrerenderFinalStatus" type="int">
17095 <int value="0" label="USED"/> 17108 <int value="0" label="USED"/>
17096 <int value="1" label="TIMED_OUT"/> 17109 <int value="1" label="TIMED_OUT"/>
17097 <int value="2" label="EVICTED"/> 17110 <int value="2" label="EVICTED"/>
17098 <int value="3" label="MANAGER_SHUTDOWN"/> 17111 <int value="3" label="MANAGER_SHUTDOWN"/>
17099 <int value="4" label="CLOSED"/> 17112 <int value="4" label="CLOSED"/>
17100 <int value="5" label="CREATE_NEW_WINDOW"/> 17113 <int value="5" label="CREATE_NEW_WINDOW"/>
17101 <int value="6" label="PROFILE_DESTROYED"/> 17114 <int value="6" label="PROFILE_DESTROYED"/>
17102 <int value="7" label="APP_TERMINATING"/> 17115 <int value="7" label="APP_TERMINATING"/>
17103 <int value="8" label="JAVASCRIPT_ALERT"/> 17116 <int value="8" label="JAVASCRIPT_ALERT"/>
(...skipping 2822 matching lines...) Expand 10 before | Expand all | Expand 10 after
19926 <group name="Disabled" label="Neither extra webstore link is visible"/> 19939 <group name="Disabled" label="Neither extra webstore link is visible"/>
19927 <group name="FooterLink" label="Link in bottom right of footer"/> 19940 <group name="FooterLink" label="Link in bottom right of footer"/>
19928 <group name="PlusIcon" label="Plus icon in apps page"/> 19941 <group name="PlusIcon" label="Plus icon in apps page"/>
19929 <affected-histogram name="Extensions.AppLaunch"/> 19942 <affected-histogram name="Extensions.AppLaunch"/>
19930 <affected-histogram name="NewTabPage.DefaultPageType"/> 19943 <affected-histogram name="NewTabPage.DefaultPageType"/>
19931 </fieldtrial> 19944 </fieldtrial>
19932 19945
19933 </fieldtrials> 19946 </fieldtrials>
19934 19947
19935 </histogram-configuration> 19948 </histogram-configuration>
OLDNEW
« chrome/browser/net/predictor.h ('K') | « 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