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

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: styling only (no logic change) 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
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 6405 matching lines...) Expand 10 before | Expand all | Expand 10 after
6416 </histogram> 6416 </histogram>
6417 6417
6418 <histogram name="Net.OSErrorsForGetAddrinfo_Win" 6418 <histogram name="Net.OSErrorsForGetAddrinfo_Win"
6419 enum="ErrorCodesGetaddrinfo_Win"> 6419 enum="ErrorCodesGetaddrinfo_Win">
6420 <summary> 6420 <summary>
6421 Positive error code that was returned by the system library 6421 Positive error code that was returned by the system library
6422 &quot;getaddrinfo()&quot;. 6422 &quot;getaddrinfo()&quot;.
6423 </summary> 6423 </summary>
6424 </histogram> 6424 </histogram>
6425 6425
6426 <histogram name="Net.PreconnectedLinkNavigation" enum="PreconnectedNavigation">
6427 <summary>
6428 Indicate whether a link navigation was preceded by a recent pre-connect
6429 trigger (within 10 seconds). There is a high chance that loading the page
6430 used a preconnected TCP session.
6431 </summary>
6432 </histogram>
6433
6426 <histogram name="Net.PreconnectedNavigation" enum="PreconnectedNavigation"> 6434 <histogram name="Net.PreconnectedNavigation" enum="PreconnectedNavigation">
6427 <summary> 6435 <summary>
6428 Indicate whether the navigation was preceded by a recent pre-connect 6436 Indicate whether a URLRequest was preceded by a recent pre-connect trigger
6429 (pre-connect within 10 seconds). There is a high chance that loading the 6437 (within 10 seconds). There is a high chance that loading the resource used a
6430 page used a preconnected TCP session. 6438 preconnected TCP session.
6431 </summary> 6439 </summary>
6432 </histogram> 6440 </histogram>
6433 6441
6434 <histogram name="Net.PreconnectMotivation" enum="PreconnectMotivation"> 6442 <histogram name="Net.PreconnectMotivation" enum="PreconnectMotivation">
6435 <summary> 6443 <summary>
6436 When a preconnection is made, indicate what the motivation was. 6444 When a preconnection is made, indicate what the motivation was.
6437 </summary> 6445 </summary>
6438 <details> 6446 <details>
6439 Currently, the most common (only?) motivations are SELF_REFERAL, 6447 Currently, the most common (only?) motivations are SELF_REFERAL,
6440 LEARNED_REFERAL and OMNIBOX. The SELF_REFERAL indicates that we made sure a 6448 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
6473 The expected number of connections, times 100, that we'll make to a given 6481 The expected number of connections, times 100, that we'll make to a given
6474 subresource, based on learned history. 6482 subresource, based on learned history.
6475 </summary> 6483 </summary>
6476 <details> 6484 <details>
6477 By comparing this to thresholds, we decide if we will preconnect, 6485 By comparing this to thresholds, we decide if we will preconnect,
6478 preresolve, or do nothing. This histogram can be used to select those static 6486 preresolve, or do nothing. This histogram can be used to select those static
6479 thresholds. 6487 thresholds.
6480 </details> 6488 </details>
6481 </histogram> 6489 </histogram>
6482 6490
6491 <histogram name="Net.PreconnectTriggerused" enum="PreconnectTriggerUsed">
6492 <summary>
6493 Indicate whether if a preconnect trigger is followed by a resource request
6494 (from link navigations) to the host or not. This is to measure precision of
6495 link-based preconnect triggers.
6496 </summary>
6497 </histogram>
6498
6483 <histogram name="Net.PreconnectUtilization" enum="NetPreconnectUtilization"> 6499 <histogram name="Net.PreconnectUtilization" enum="NetPreconnectUtilization">
6484 <obsolete> 6500 <obsolete>
6485 Sourced data corrected, and replaced by NetPreconnectUtilization2 6501 Sourced data corrected, and replaced by NetPreconnectUtilization2
6486 </obsolete> 6502 </obsolete>
6487 <summary> 6503 <summary>
6488 Indicate final utilization for each attempted socket connection. 6504 Indicate final utilization for each attempted socket connection.
6489 </summary> 6505 </summary>
6490 <details> 6506 <details>
6491 We also include stats for non-speculative sockets. Some socket connections 6507 We also include stats for non-speculative sockets. Some socket connections
6492 may never connect, and others may never be used (as the user may abort 6508 may never connect, and others may never be used (as the user may abort
(...skipping 13309 matching lines...) Expand 10 before | Expand all | Expand 10 after
19802 <int value="5" label="5"/> 19818 <int value="5" label="5"/>
19803 </enum> 19819 </enum>
19804 19820
19805 <enum name="PowerBrightnessAdjust" type="int"> 19821 <enum name="PowerBrightnessAdjust" type="int">
19806 <int value="0" label="Brightness Down"/> 19822 <int value="0" label="Brightness Down"/>
19807 <int value="1" label="Brightness Up"/> 19823 <int value="1" label="Brightness Up"/>
19808 <int value="2" label="Brightness Absolute"/> 19824 <int value="2" label="Brightness Absolute"/>
19809 </enum> 19825 </enum>
19810 19826
19811 <enum name="PreconnectedNavigation" type="int"> 19827 <enum name="PreconnectedNavigation" type="int">
19812 <int value="0" label="Page nav. preceded by a pre-connect"/> 19828 <int value="0" label="No recent pre-connect to the page"/>
19813 <int value="1" label="No recent pre-connect to the page"/> 19829 <int value="1" label="Page nav. preceded by a pre-connect"/>
19814 </enum> 19830 </enum>
19815 19831
19816 <enum name="PreconnectMotivation" type="int"> 19832 <enum name="PreconnectMotivation" type="int">
19817 <int value="0" label="MOUSE_OVER_MOTIVATED"/> 19833 <int value="0" label="MOUSE_OVER_MOTIVATED"/>
19818 <int value="1" label="PAGE_SCAN_MOTIVATED"/> 19834 <int value="1" label="PAGE_SCAN_MOTIVATED"/>
19819 <int value="2" label="UNIT_TEST_MOTIVATED"/> 19835 <int value="2" label="UNIT_TEST_MOTIVATED"/>
19820 <int value="3" label="LINKED_MAX_MOTIVATED"/> 19836 <int value="3" label="LINKED_MAX_MOTIVATED"/>
19821 <int value="4" label="OMNIBOX_MOTIVATED"/> 19837 <int value="4" label="OMNIBOX_MOTIVATED"/>
19822 <int value="5" label="STARTUP_LIST_MOTIVATED"/> 19838 <int value="5" label="STARTUP_LIST_MOTIVATED"/>
19823 <int value="6" label="EARLY_LOAD_MOTIVATED"/> 19839 <int value="6" label="EARLY_LOAD_MOTIVATED"/>
19824 <int value="7" label="NO_PREFETCH_MOTIVATION"/> 19840 <int value="7" label="NO_PREFETCH_MOTIVATION"/>
19825 <int value="8" label="STATIC_REFERAL_MOTIVATED"/> 19841 <int value="8" label="STATIC_REFERAL_MOTIVATED"/>
19826 <int value="9" label="LEARNED_REFERAL_MOTIVATED"/> 19842 <int value="9" label="LEARNED_REFERAL_MOTIVATED"/>
19827 <int value="10" label="SELF_REFERAL_MOTIVATED"/> 19843 <int value="10" label="SELF_REFERAL_MOTIVATED"/>
19828 </enum> 19844 </enum>
19829 19845
19830 <enum name="PreconnectSubresourceEval" type="int"> 19846 <enum name="PreconnectSubresourceEval" type="int">
19831 <int value="0" label="PRECONNECTION"/> 19847 <int value="0" label="PRECONNECTION"/>
19832 <int value="1" label="PRERESOLUTION"/> 19848 <int value="1" label="PRERESOLUTION"/>
19833 <int value="2" label="TOO_NEW"/> 19849 <int value="2" label="TOO_NEW"/>
19834 </enum> 19850 </enum>
19835 19851
19852 <enum name="PreconnectTriggerUsed" type="int">
19853 <int value="0" label="The pre-connect triggered host was not accessed"/>
19854 <int value="1" label="The pre-connect triggered host was accessed"/>
19855 </enum>
19856
19836 <enum name="PrerenderFinalStatus" type="int"> 19857 <enum name="PrerenderFinalStatus" type="int">
19837 <int value="0" label="USED"/> 19858 <int value="0" label="USED"/>
19838 <int value="1" label="TIMED_OUT"/> 19859 <int value="1" label="TIMED_OUT"/>
19839 <int value="2" label="EVICTED"/> 19860 <int value="2" label="EVICTED"/>
19840 <int value="3" label="MANAGER_SHUTDOWN"/> 19861 <int value="3" label="MANAGER_SHUTDOWN"/>
19841 <int value="4" label="CLOSED"/> 19862 <int value="4" label="CLOSED"/>
19842 <int value="5" label="CREATE_NEW_WINDOW"/> 19863 <int value="5" label="CREATE_NEW_WINDOW"/>
19843 <int value="6" label="PROFILE_DESTROYED"/> 19864 <int value="6" label="PROFILE_DESTROYED"/>
19844 <int value="7" label="APP_TERMINATING"/> 19865 <int value="7" label="APP_TERMINATING"/>
19845 <int value="8" label="JAVASCRIPT_ALERT"/> 19866 <int value="8" label="JAVASCRIPT_ALERT"/>
(...skipping 3892 matching lines...) Expand 10 before | Expand all | Expand 10 after
23738 <group name="Disabled" label="Neither extra webstore link is visible"/> 23759 <group name="Disabled" label="Neither extra webstore link is visible"/>
23739 <group name="FooterLink" label="Link in bottom right of footer"/> 23760 <group name="FooterLink" label="Link in bottom right of footer"/>
23740 <group name="PlusIcon" label="Plus icon in apps page"/> 23761 <group name="PlusIcon" label="Plus icon in apps page"/>
23741 <affected-histogram name="Extensions.AppLaunch"/> 23762 <affected-histogram name="Extensions.AppLaunch"/>
23742 <affected-histogram name="NewTabPage.DefaultPageType"/> 23763 <affected-histogram name="NewTabPage.DefaultPageType"/>
23743 </fieldtrial> 23764 </fieldtrial>
23744 23765
23745 </fieldtrials> 23766 </fieldtrials>
23746 23767
23747 </histogram-configuration> 23768 </histogram-configuration>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698