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

Unified Diff: tools/metrics/histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 2045153003: Speculatively launch Service Workers on mouse/touch events. [4/5] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix windows compile error Created 4 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:
Download patch
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 5b460e3bb9f0c4d6f5effd761b37f70d72515bad..c3958fe760a43b406f28e52b0ef74decd65a7e95 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -51805,6 +51805,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>Execution time of ServiceWorkerGlobalScope.onmessage.</summary>
</histogram>
+<histogram name="ServiceWorker.NavigationHintPrecision" enum="BooleanEnabled">
+ <owner>horo@google.com</owner>
nhiroki 2016/07/29 06:08:03 @chromium.org
horo 2016/07/29 08:59:04 Done.
+ <summary>
+ The precision of the speculative launch of Service Workers for navigation
+ hints. Recorded when the worker is stopped. If there was no main/sub frame
+ fetch event fired on the worker, this value is false. This means that the
+ speculative launch wasn't helpful.
+ </summary>
+</histogram>
+
<histogram name="ServiceWorker.NotificationClickEvent.Time" units="ms">
<owner>peter@chromium.org</owner>
<summary>
@@ -100956,6 +100966,13 @@ To add a new entry, add it with any value and run test to compute valid value.
<suffix name="3" label="Failed three times."/>
</histogram_suffixes>
+<histogram_suffixes name="ServiceWorker.NavigationHint" separator=".">
+ <suffix name="LINK_MOUSE_DOWN" label="LINK_MOUSE_DOWN"/>
+ <suffix name="LINK_TAP_UNCONFIRMED" label="LINK_TAP_UNCONFIRMED"/>
+ <suffix name="LINK_TAP_DOWN" label="LINK_TAP_DOWN"/>
+ <affected-histogram name="ServiceWorker.NavigationHintPrecision"/>
+</histogram_suffixes>
+
<histogram_suffixes name="ServiceWorker.ShutdownStatus">
<affected-histogram name="ServiceWorker.ActivateEventStatus"/>
<suffix name="InShutdown" label="Browser shutdown started."/>

Powered by Google App Engine
This is Rietveld 408576698