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

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: fix BrowserCommandTests. Created 7 years, 4 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
« no previous file with comments | « content/public/common/page_transition_types_list.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6495 matching lines...) Expand 10 before | Expand all | Expand 10 after
6506 </histogram> 6506 </histogram>
6507 6507
6508 <histogram name="Net.OSErrorsForGetAddrinfo_Win" 6508 <histogram name="Net.OSErrorsForGetAddrinfo_Win"
6509 enum="ErrorCodesGetaddrinfo_Win"> 6509 enum="ErrorCodesGetaddrinfo_Win">
6510 <summary> 6510 <summary>
6511 Positive error code that was returned by the system library 6511 Positive error code that was returned by the system library
6512 &quot;getaddrinfo()&quot;. 6512 &quot;getaddrinfo()&quot;.
6513 </summary> 6513 </summary>
6514 </histogram> 6514 </histogram>
6515 6515
6516 <histogram name="Net.PreconnectedLinkNavigation" enum="PreconnectedNavigation">
6517 <summary>
6518 Indicate whether a link navigation was preceded by a recent pre-connect
6519 trigger (within 10 seconds). There is a high chance that loading the page
6520 used a preconnected TCP session.
6521 </summary>
6522 </histogram>
6523
6516 <histogram name="Net.PreconnectedNavigation" enum="PreconnectedNavigation"> 6524 <histogram name="Net.PreconnectedNavigation" enum="PreconnectedNavigation">
6517 <summary> 6525 <summary>
6518 Indicate whether the navigation was preceded by a recent pre-connect 6526 Indicate whether a URLRequest was preceded by a recent pre-connect trigger
6519 (pre-connect within 10 seconds). There is a high chance that loading the 6527 (within 10 seconds). There is a high chance that loading the resource used a
6520 page used a preconnected TCP session. 6528 preconnected TCP session.
6521 </summary> 6529 </summary>
6522 </histogram> 6530 </histogram>
6523 6531
6524 <histogram name="Net.PreconnectMotivation" enum="PreconnectMotivation"> 6532 <histogram name="Net.PreconnectMotivation" enum="PreconnectMotivation">
6525 <summary> 6533 <summary>
6526 When a preconnection is made, indicate what the motivation was. 6534 When a preconnection is made, indicate what the motivation was.
6527 </summary> 6535 </summary>
6528 <details> 6536 <details>
6529 Currently, the most common (only?) motivations are SELF_REFERAL, 6537 Currently, the most common (only?) motivations are SELF_REFERAL,
6530 LEARNED_REFERAL and OMNIBOX. The SELF_REFERAL indicates that we made sure a 6538 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
6563 The expected number of connections, times 100, that we'll make to a given 6571 The expected number of connections, times 100, that we'll make to a given
6564 subresource, based on learned history. 6572 subresource, based on learned history.
6565 </summary> 6573 </summary>
6566 <details> 6574 <details>
6567 By comparing this to thresholds, we decide if we will preconnect, 6575 By comparing this to thresholds, we decide if we will preconnect,
6568 preresolve, or do nothing. This histogram can be used to select those static 6576 preresolve, or do nothing. This histogram can be used to select those static
6569 thresholds. 6577 thresholds.
6570 </details> 6578 </details>
6571 </histogram> 6579 </histogram>
6572 6580
6581 <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.
6582 <summary>
6583 Indicate whether if a preconnect trigger is followed by a resource request
6584 (from link navigations) to the host or not. This is to measure precision of
6585 link-based preconnect triggers.
6586 </summary>
6587 </histogram>
6588
6573 <histogram name="Net.PreconnectUtilization" enum="NetPreconnectUtilization"> 6589 <histogram name="Net.PreconnectUtilization" enum="NetPreconnectUtilization">
6574 <obsolete> 6590 <obsolete>
6575 Sourced data corrected, and replaced by NetPreconnectUtilization2 6591 Sourced data corrected, and replaced by NetPreconnectUtilization2
6576 </obsolete> 6592 </obsolete>
6577 <summary> 6593 <summary>
6578 Indicate final utilization for each attempted socket connection. 6594 Indicate final utilization for each attempted socket connection.
6579 </summary> 6595 </summary>
6580 <details> 6596 <details>
6581 We also include stats for non-speculative sockets. Some socket connections 6597 We also include stats for non-speculative sockets. Some socket connections
6582 may never connect, and others may never be used (as the user may abort 6598 may never connect, and others may never be used (as the user may abort
(...skipping 13503 matching lines...) Expand 10 before | Expand all | Expand 10 after
20086 <int value="5" label="5"/> 20102 <int value="5" label="5"/>
20087 </enum> 20103 </enum>
20088 20104
20089 <enum name="PowerBrightnessAdjust" type="int"> 20105 <enum name="PowerBrightnessAdjust" type="int">
20090 <int value="0" label="Brightness Down"/> 20106 <int value="0" label="Brightness Down"/>
20091 <int value="1" label="Brightness Up"/> 20107 <int value="1" label="Brightness Up"/>
20092 <int value="2" label="Brightness Absolute"/> 20108 <int value="2" label="Brightness Absolute"/>
20093 </enum> 20109 </enum>
20094 20110
20095 <enum name="PreconnectedNavigation" type="int"> 20111 <enum name="PreconnectedNavigation" type="int">
20096 <int value="0" label="Page nav. preceded by a pre-connect"/> 20112 <int value="0" label="No recent pre-connect to the page"/>
20097 <int value="1" label="No recent pre-connect to the page"/> 20113 <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/
20098 </enum> 20114 </enum>
20099 20115
20100 <enum name="PreconnectMotivation" type="int"> 20116 <enum name="PreconnectMotivation" type="int">
20101 <int value="0" label="MOUSE_OVER_MOTIVATED"/> 20117 <int value="0" label="MOUSE_OVER_MOTIVATED"/>
20102 <int value="1" label="PAGE_SCAN_MOTIVATED"/> 20118 <int value="1" label="PAGE_SCAN_MOTIVATED"/>
20103 <int value="2" label="UNIT_TEST_MOTIVATED"/> 20119 <int value="2" label="UNIT_TEST_MOTIVATED"/>
20104 <int value="3" label="LINKED_MAX_MOTIVATED"/> 20120 <int value="3" label="LINKED_MAX_MOTIVATED"/>
20105 <int value="4" label="OMNIBOX_MOTIVATED"/> 20121 <int value="4" label="OMNIBOX_MOTIVATED"/>
20106 <int value="5" label="STARTUP_LIST_MOTIVATED"/> 20122 <int value="5" label="STARTUP_LIST_MOTIVATED"/>
20107 <int value="6" label="EARLY_LOAD_MOTIVATED"/> 20123 <int value="6" label="EARLY_LOAD_MOTIVATED"/>
20108 <int value="7" label="NO_PREFETCH_MOTIVATION"/> 20124 <int value="7" label="NO_PREFETCH_MOTIVATION"/>
20109 <int value="8" label="STATIC_REFERAL_MOTIVATED"/> 20125 <int value="8" label="STATIC_REFERAL_MOTIVATED"/>
20110 <int value="9" label="LEARNED_REFERAL_MOTIVATED"/> 20126 <int value="9" label="LEARNED_REFERAL_MOTIVATED"/>
20111 <int value="10" label="SELF_REFERAL_MOTIVATED"/> 20127 <int value="10" label="SELF_REFERAL_MOTIVATED"/>
20112 </enum> 20128 </enum>
20113 20129
20114 <enum name="PreconnectSubresourceEval" type="int"> 20130 <enum name="PreconnectSubresourceEval" type="int">
20115 <int value="0" label="PRECONNECTION"/> 20131 <int value="0" label="PRECONNECTION"/>
20116 <int value="1" label="PRERESOLUTION"/> 20132 <int value="1" label="PRERESOLUTION"/>
20117 <int value="2" label="TOO_NEW"/> 20133 <int value="2" label="TOO_NEW"/>
20118 </enum> 20134 </enum>
20119 20135
20136 <enum name="PreconnectTriggerUsed" type="int">
20137 <int value="0" label="The pre-connect triggered host was not accessed"/>
20138 <int value="1" label="The pre-connect triggered host was accessed"/>
20139 </enum>
20140
20120 <enum name="PrerenderFinalStatus" type="int"> 20141 <enum name="PrerenderFinalStatus" type="int">
20121 <int value="0" label="USED"/> 20142 <int value="0" label="USED"/>
20122 <int value="1" label="TIMED_OUT"/> 20143 <int value="1" label="TIMED_OUT"/>
20123 <int value="2" label="EVICTED"/> 20144 <int value="2" label="EVICTED"/>
20124 <int value="3" label="MANAGER_SHUTDOWN"/> 20145 <int value="3" label="MANAGER_SHUTDOWN"/>
20125 <int value="4" label="CLOSED"/> 20146 <int value="4" label="CLOSED"/>
20126 <int value="5" label="CREATE_NEW_WINDOW"/> 20147 <int value="5" label="CREATE_NEW_WINDOW"/>
20127 <int value="6" label="PROFILE_DESTROYED"/> 20148 <int value="6" label="PROFILE_DESTROYED"/>
20128 <int value="7" label="APP_TERMINATING"/> 20149 <int value="7" label="APP_TERMINATING"/>
20129 <int value="8" label="JAVASCRIPT_ALERT"/> 20150 <int value="8" label="JAVASCRIPT_ALERT"/>
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
20819 <int value="2" label="Extension re-enabled"/> 20840 <int value="2" label="Extension re-enabled"/>
20820 <int value="3" label="Extension uninstalled"/> 20841 <int value="3" label="Extension uninstalled"/>
20821 </enum> 20842 </enum>
20822 20843
20823 <enum name="SideloadWipeoutBubble" type="int"> 20844 <enum name="SideloadWipeoutBubble" type="int">
20824 <int value="0" label="Learn more"/> 20845 <int value="0" label="Learn more"/>
20825 <int value="1" label="Settings page"/> 20846 <int value="1" label="Settings page"/>
20826 <int value="2" label="Dismiss"/> 20847 <int value="2" label="Dismiss"/>
20827 </enum> 20848 </enum>
20828 20849
20850 <enum name="SimpleCache.FileDescriptorLimitStatus" type="int">
20851 <int value="0" label="Unsupported"/>
20852 <int value="1" label="Supported but failed"/>
20853 <int value="2" label="Succeeded"/>
20854 </enum>
20855
20829 <enum name="SimpleCacheHeaderSizeChange" type="int"> 20856 <enum name="SimpleCacheHeaderSizeChange" type="int">
20830 <int value="0" label="Written for the first time"/> 20857 <int value="0" label="Written for the first time"/>
20831 <int value="1" label="Rewritten with same size"/> 20858 <int value="1" label="Rewritten with same size"/>
20832 <int value="2" label="Rewritten with larger size"/> 20859 <int value="2" label="Rewritten with larger size"/>
20833 <int value="3" label="Rewritten with smaller size"/> 20860 <int value="3" label="Rewritten with smaller size"/>
20834 <int value="4" label="Unexpected header stream write"/> 20861 <int value="4" label="Unexpected header stream write"/>
20835 </enum> 20862 </enum>
20836 20863
20837 <enum name="SimpleCache.FileDescriptorLimitStatus" type="int">
20838 <int value="0" label="Unsupported"/>
20839 <int value="1" label="Supported but failed"/>
20840 <int value="2" label="Succeeded"/>
20841 </enum>
20842
20843 <enum name="SimpleCacheIndexInitializeMethod" type="int"> 20864 <enum name="SimpleCacheIndexInitializeMethod" type="int">
20844 <int value="0" label="Directory Scan"/> 20865 <int value="0" label="Directory Scan"/>
20845 <int value="1" label="Index File"/> 20866 <int value="1" label="Index File"/>
20846 <int value="2" label="New Cache"/> 20867 <int value="2" label="New Cache"/>
20847 </enum> 20868 </enum>
20848 20869
20849 <enum name="SimpleCacheOpenEntryIndexState" type="int"> 20870 <enum name="SimpleCacheOpenEntryIndexState" type="int">
20850 <int value="0" label="No index"/> 20871 <int value="0" label="No index"/>
20851 <int value="1" label="Hit"/> 20872 <int value="1" label="Hit"/>
20852 <int value="2" label="Miss"/> 20873 <int value="2" label="Miss"/>
(...skipping 3196 matching lines...) Expand 10 before | Expand all | Expand 10 after
24049 <group name="Disabled" label="Neither extra webstore link is visible"/> 24070 <group name="Disabled" label="Neither extra webstore link is visible"/>
24050 <group name="FooterLink" label="Link in bottom right of footer"/> 24071 <group name="FooterLink" label="Link in bottom right of footer"/>
24051 <group name="PlusIcon" label="Plus icon in apps page"/> 24072 <group name="PlusIcon" label="Plus icon in apps page"/>
24052 <affected-histogram name="Extensions.AppLaunch"/> 24073 <affected-histogram name="Extensions.AppLaunch"/>
24053 <affected-histogram name="NewTabPage.DefaultPageType"/> 24074 <affected-histogram name="NewTabPage.DefaultPageType"/>
24054 </fieldtrial> 24075 </fieldtrial>
24055 24076
24056 </fieldtrials> 24077 </fieldtrials>
24057 24078
24058 </histogram-configuration> 24079 </histogram-configuration>
OLDNEW
« 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