summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorpmeenan@chromium.org <pmeenan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-05 20:57:26 +0000
committerpmeenan@chromium.org <pmeenan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-05 20:57:26 +0000
commitfd997146607926e4e53de2990da60127de9e11cc (patch)
tree51363a38bd93752f5ef55aff32364e87d526b05c /tools
parentc9ca684f9e5f95ad338e2736dc429a08385e5164 (diff)
downloadchromium_src-fd997146607926e4e53de2990da60127de9e11cc.zip
chromium_src-fd997146607926e4e53de2990da60127de9e11cc.tar.gz
chromium_src-fd997146607926e4e53de2990da60127de9e11cc.tar.bz2
Added websearch-specific version of PLT Histograms
This adds variations for the key page load timing metrics to track the performance of pages that were loaded as a result of navigating to them from a Google web search. It also filled in a few gaps in the existing PLT.PT_* metrics to match metrics that are normally captured by sites and synthetic testing: PT_RequestToCommit - Equivalent to TTFB (Time to First Byte) PT_RequestToDomContentLoaded - Time from navigation to DOMContentLoaded PT_RequestToFinishDoc - Traditional load time (to the start of onload) BUG=309021 Review URL: https://codereview.chromium.org/49353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233081 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/metrics/histograms/histograms.xml136
1 files changed, 136 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 8ae8278..2b5feef 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -12976,6 +12976,107 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="PLT.PT_BeginToCommit" units="milliseconds">
+ <summary>
+ This time is based on the NavigationTiming spec and is a more accurate
+ version of PLT.BeginToCommit. Commit: responseStart. Begin: requestStart or
+ navigationStart if user-initiated request.
+ </summary>
+</histogram>
+
+<histogram name="PLT.PT_BeginToFinish" units="milliseconds">
+ <summary>
+ This time is based on the NavigationTiming spec and is a more accurate
+ version of PLT.BeginToFinish. Finish: loadEventEnd. Begin: requestStart or
+ navigationStart if user-initiated request.
+ </summary>
+</histogram>
+
+<histogram name="PLT.PT_BeginToFinishDoc" units="milliseconds">
+ <summary>
+ This time is based on the NavigationTiming spec and is a more accurate
+ version of PLT.BeginToFinishDoc. FinishDoc: loadEventStart. Begin:
+ requestStart or navigationStart if user-initiated request.
+ </summary>
+</histogram>
+
+<histogram name="PLT.PT_CommitToFinish" units="milliseconds">
+ <summary>
+ This time is based on the NavigationTiming spec and is a more accurate
+ version of PLT.CommitToFinish. Commit: responseStart. Finish: loadEventEnd.
+ </summary>
+</histogram>
+
+<histogram name="PLT.PT_CommitToFinishDoc" units="milliseconds">
+ <summary>
+ This time is based on the NavigationTiming spec and is a more accurate
+ version of PLT.CommitToFinishDoc. Commit: responseStart. FinishDoc:
+ loadEventStart.
+ </summary>
+</histogram>
+
+<histogram name="PLT.PT_FinishDocToFinish" units="milliseconds">
+ <summary>
+ This time is based on the NavigationTiming spec and is a more accurate
+ version of PLT.FinishDocToFinish. Finish: loadEventEnd. FinishDoc:
+ loadEventStart.
+ </summary>
+</histogram>
+
+<histogram name="PLT.PT_RequestToCommit" units="milliseconds">
+ <summary>
+ This time is based on the NavigationTiming spec and measures the time until
+ the renderer got first byte of document. Commit: time when renderer got
+ first byte of document. Request: navigationStart.
+ </summary>
+</histogram>
+
+<histogram name="PLT.PT_RequestToDomContentLoaded" units="milliseconds">
+ <summary>
+ This time is based on the NavigationTiming spec and measures the time until
+ the beginning of the DOMContentLoaded event. DOMContentLoaded:
+ domContentLoadedEventStart. Request: navigationStart.
+ </summary>
+</histogram>
+
+<histogram name="PLT.PT_RequestToFinish" units="milliseconds">
+ <summary>
+ This time is based on the NavigationTiming spec and is a more accurate
+ version of PLT.RequestToFinish. Finish: loadEventEnd. Request:
+ navigationStart.
+ </summary>
+</histogram>
+
+<histogram name="PLT.PT_RequestToFinishDoc" units="milliseconds">
+ <summary>
+ This time is based on the NavigationTiming spec and measures the page load
+ time until the beginning of the load event. Finish: loadEventStart. Request:
+ navigationStart.
+ </summary>
+</histogram>
+
+<histogram name="PLT.PT_RequestToStart" units="milliseconds">
+ <summary>
+ This time is based on the NavigationTiming spec and is a more accurate
+ version of PLT.RequestToStart. Start: requestStart. Request:
+ navigationStart.
+ </summary>
+</histogram>
+
+<histogram name="PLT.PT_StartToCommit" units="milliseconds">
+ <summary>
+ This time is based on the NavigationTiming spec and is a more accurate
+ version of PLT.StartToCommit. Start: requestStart. Commit: responseStart.
+ </summary>
+</histogram>
+
+<histogram name="PLT.PT_StartToFinish" units="milliseconds">
+ <summary>
+ This time is based on the NavigationTiming spec and is a more accurate
+ version of PLT.StartToFinish. Start: requestStart. Finish: loadEventEnd.
+ </summary>
+</histogram>
+
<histogram name="PLT.RequestToFinish" units="milliseconds">
<summary>
Time from &quot;request&quot; to &quot;finish.&quot; &quot;Request&quot; ==
@@ -29026,6 +29127,19 @@ other types of suffix sets.
<affected-histogram name="PLT.NT_Redirect"/>
<affected-histogram name="PLT.NT_Request"/>
<affected-histogram name="PLT.NT_Response"/>
+ <affected-histogram name="PLT.PT_BeginToCommit"/>
+ <affected-histogram name="PLT.PT_BeginToFinish"/>
+ <affected-histogram name="PLT.PT_BeginToFinishDoc"/>
+ <affected-histogram name="PLT.PT_CommitToFinish"/>
+ <affected-histogram name="PLT.PT_CommitToFinishDoc"/>
+ <affected-histogram name="PLT.PT_FinishDocToFinish"/>
+ <affected-histogram name="PLT.PT_RequestToCommit"/>
+ <affected-histogram name="PLT.PT_RequestToDomContentLoaded"/>
+ <affected-histogram name="PLT.PT_RequestToFinish"/>
+ <affected-histogram name="PLT.PT_RequestToFinishDoc"/>
+ <affected-histogram name="PLT.PT_RequestToStart"/>
+ <affected-histogram name="PLT.PT_StartToCommit"/>
+ <affected-histogram name="PLT.PT_StartToFinish"/>
</fieldtrial>
<fieldtrial name="DefaultAppsExperiment">
@@ -29176,6 +29290,28 @@ other types of suffix sets.
<affected-histogram name="FileBrowser.Load"/>
</fieldtrial>
+<fieldtrial name="FromGWS">
+ <group name="FromGWS"
+ label="Only page loads that are a result of a navigation from a web
+ search are considered."/>
+ <affected-histogram name="PLT.BeginToFinish"/>
+ <affected-histogram name="PLT.BeginToFinishDoc"/>
+ <affected-histogram name="PLT.BeginToFirstPaint"/>
+ <affected-histogram name="PLT.CommitToFirstPaint"/>
+ <affected-histogram name="PLT.PT_BeginToCommit"/>
+ <affected-histogram name="PLT.PT_BeginToFinish"/>
+ <affected-histogram name="PLT.PT_BeginToFinishDoc"/>
+ <affected-histogram name="PLT.PT_CommitToFinish"/>
+ <affected-histogram name="PLT.PT_CommitToFinishDoc"/>
+ <affected-histogram name="PLT.PT_RequestToCommit"/>
+ <affected-histogram name="PLT.PT_RequestToDomContentLoaded"/>
+ <affected-histogram name="PLT.PT_RequestToFinish"/>
+ <affected-histogram name="PLT.PT_RequestToFinishDoc"/>
+ <affected-histogram name="PLT.PT_RequestToStart"/>
+ <affected-histogram name="PLT.PT_StartToCommit"/>
+ <affected-histogram name="PLT.PT_StartToFinish"/>
+</fieldtrial>
+
<fieldtrial name="HttpPipeliningCompatibility">
<group name="disable_test" label="Do nothing"/>
<group name="enable_test" label="Test connection for HTTP pipelining"/>