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

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

Issue 1098953005: ServiceWorker: Add UMA for Activate and Install event results. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 5 years, 8 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_registration.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 784843737e613e7d0e3bb02a7790819a225811fb..f348f2e1dd67eae30133a3c4d633cfa37305650d 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -35022,7 +35022,16 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<histogram name="ServiceWorker.ActivateEventExecutionTime" units="millisecond">
<owner>shimazu@chromium.org</owner>
- <summary>Execution time of ServiceWorkerGlobalScope.onactivate.</summary>
+ <summary>
+ Execution time of ServiceWorkerGlobalScope.onactivate. Includes the time for
+ waitUntil() promise to settle.
+ </summary>
+</histogram>
+
+<histogram name="ServiceWorker.ActivateEventStatus"
+ enum="ServiceWorkerStatusCode">
+ <owner>falken@chromium.org</owner>
+ <summary>The result of dispatching the activate event to the worker.</summary>
</histogram>
<histogram name="ServiceWorker.Database.DestroyDatabaseResult"
@@ -35080,12 +35089,24 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<histogram name="ServiceWorker.FetchEventExecutionTime" units="millisecond">
<owner>shimazu@chromium.org</owner>
- <summary>Execution time of ServiceWorkerGlobalScope.onfetch.</summary>
+ <summary>
+ Execution time of ServiceWorkerGlobalScope.onfetch. Includes the time for
+ the respondWith() promise to settle.
+ </summary>
</histogram>
<histogram name="ServiceWorker.InstallEventExecutionTime" units="millisecond">
<owner>shimazu@chromium.org</owner>
- <summary>Execution time of ServiceWorkerGlobalScope.oninstall.</summary>
+ <summary>
+ Execution time of ServiceWorkerGlobalScope.oninstall. Includes the time for
+ the waitUntil() promise to settle.
+ </summary>
+</histogram>
+
+<histogram name="ServiceWorker.InstallEventStatus"
+ enum="ServiceWorkerStatusCode">
+ <owner>falken@chromium.org</owner>
+ <summary>The result of dispatching the install event to the worker.</summary>
</histogram>
<histogram name="ServiceWorker.MessageEventExecutionTime" units="millisecond">
« no previous file with comments | « content/browser/service_worker/service_worker_registration.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698