Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

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

Issue 2045153003: Speculatively launch Service Workers on mouse/touch events. [4/5] (Closed) Base URL:
Patch Set: fix windows compile error Created 4 years, 5 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 name="ServiceWorker.NavigationHintPrecision" enum="BooleanEnabled">
+ <owner></owner>
nhiroki 2016/07/29 06:08:03
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 name="ServiceWorker.NotificationClickEvent.Time" units="ms">
@@ -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 name="ServiceWorker.NavigationHint" separator=".">
+ <suffix name="LINK_MOUSE_DOWN" label="LINK_MOUSE_DOWN"/>
+ <suffix name="LINK_TAP_DOWN" label="LINK_TAP_DOWN"/>
+ <affected-histogram name="ServiceWorker.NavigationHintPrecision"/>
<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