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"> |