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

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

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: incorporated nhiroki's comment 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
« no previous file with comments | « content/browser/service_worker/service_worker_version_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index a522cf4f5f295f63896ab19e6960e39f7f923ed2..6b4309d57976d4bb38ef77c67fe3252fc2242405 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -51823,6 +51823,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@chromium.org</owner>
+ <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>
@@ -100983,6 +100993,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."/>
« no previous file with comments | « content/browser/service_worker/service_worker_version_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698