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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2218943002: Introduce ServiceWorker.EventDispatchingDelay UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comment in background_sync.mojom Created 4 years, 3 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 | « third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h ('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 443f59efb51bf6cc4b89708c6c7cc351daa91a1f..e7c2f1e5fc5576c85d7c3528843427d4d9bb34d2 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -52817,6 +52817,14 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="ServiceWorker.EventDispatchingDelay" units="ms">
+ <owner>horo@chromium.org</owner>
+ <summary>
+ The time taken between sending an event IPC from the browser process to a
+ Service Worker and executing the event handler in the Service Worker.
+ </summary>
+</histogram>
+
<histogram name="ServiceWorker.EventHandledRatioType.Fetch"
enum="ServiceWorkerEventHandleRatioType">
<owner>kinuko@chromium.org</owner>
@@ -102960,6 +102968,7 @@ To add a new entry, add it with any value and run test to compute valid value.
</histogram_suffixes>
<histogram_suffixes name="ServiceWorker.EventType">
+ <affected-histogram name="ServiceWorker.EventDispatchingDelay"/>
Mark P 2016/08/24 03:59:29 Why is this at the top rather than at the bottom l
horo 2016/08/24 05:14:01 Done. pretty_print.py moved it.
<suffix name="ACTIVATE" label="ACTIVATE"/>
<suffix name="INSTALL" label="INSTALL"/>
<suffix name="SYNC" label="SYNC"/>
@@ -103101,7 +103110,11 @@ To add a new entry, add it with any value and run test to compute valid value.
</histogram_suffixes>
<histogram_suffixes name="ServiceWorkerSpecialApps" separator=".">
Mark P 2016/08/24 03:59:29 This doesn't seem right. You're not adding those
horo 2016/08/24 05:14:01 Done.
+ <suffix name="docs" label="Custom histogram for Google Docs and Drive"/>
+ <suffix name="gmail" label="Custom histogram for GMail"/>
<suffix name="inbox" label="Custom histogram for Inbox"/>
+ <suffix name="ntp" label="Custom histogram for New Tab Page"/>
+ <suffix name="plus" label="Custom histogram for Google+"/>
<affected-histogram
name="PageLoad.Clients.ServiceWorker.DocumentTiming.NavigationToDOMContentLoadedEventFired"/>
<affected-histogram
@@ -103110,6 +103123,32 @@ To add a new entry, add it with any value and run test to compute valid value.
name="PageLoad.Clients.ServiceWorker.PaintTiming.NavigationToFirstContentfulPaint"/>
<affected-histogram
name="PageLoad.Clients.ServiceWorker.PaintTiming.ParseStartToFirstContentfulPaint"/>
+ <affected-histogram name="ServiceWorker.EventDispatchingDelay_ACTIVATE"/>
+ <affected-histogram
+ name="ServiceWorker.EventDispatchingDelay_FETCH_MAIN_FRAME"/>
+ <affected-histogram
+ name="ServiceWorker.EventDispatchingDelay_FETCH_SHARED_WORKER"/>
+ <affected-histogram
+ name="ServiceWorker.EventDispatchingDelay_FETCH_SUB_FRAME"/>
+ <affected-histogram
+ name="ServiceWorker.EventDispatchingDelay_FETCH_SUB_RESOURCE"/>
+ <affected-histogram name="ServiceWorker.EventDispatchingDelay_FOREIGN_FETCH"/>
+ <affected-histogram name="ServiceWorker.EventDispatchingDelay_GEOFENCING"/>
+ <affected-histogram name="ServiceWorker.EventDispatchingDelay_INSTALL"/>
+ <affected-histogram name="ServiceWorker.EventDispatchingDelay_MESSAGE"/>
+ <affected-histogram
+ name="ServiceWorker.EventDispatchingDelay_NAVIGATION_HINT_LINK_MOUSE_DOWN"/>
+ <affected-histogram
+ name="ServiceWorker.EventDispatchingDelay_NAVIGATION_HINT_LINK_TAP_DOWN"/>
+ <affected-histogram
+ name="ServiceWorker.EventDispatchingDelay_NAVIGATION_HINT_LINK_TAP_UNCONFIRMED"/>
+ <affected-histogram
+ name="ServiceWorker.EventDispatchingDelay_NOTIFICATION_CLICK"/>
+ <affected-histogram
+ name="ServiceWorker.EventDispatchingDelay_NOTIFICATION_CLOSE"/>
+ <affected-histogram name="ServiceWorker.EventDispatchingDelay_PUSH"/>
+ <affected-histogram name="ServiceWorker.EventDispatchingDelay_SYNC"/>
+ <affected-histogram name="ServiceWorker.EventDispatchingDelay_UNKNOWN"/>
</histogram_suffixes>
<histogram_suffixes name="SessionRestoreTabCountMemoryPressure">
« no previous file with comments | « third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698