Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index 3c55c73687a15ee1f99a360771b3495ba3604a62..2acc8ae08769bfaf08950057866d0d55a8fb76e8 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -43041,6 +43041,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
<summary>The result of dispatching the activate event to the worker.</summary> |
</histogram> |
+<histogram name="ServiceWorker.BackgroundSyncEvent.Time" units="milliseconds"> |
Ilya Sherman
2015/12/17 21:41:37
nit: Perhaps "Duration" rather than "Time"?
falken
2015/12/18 01:28:48
That's probably better, but the other SW UMAs use
jkarlin
2015/12/18 12:28:30
Agree with both. Keeping with "Time" for consisten
|
+ <owner>jkarlin@chromium.org</owner> |
+ <summary> |
+ The time taken between dispatching a SyncEvent to a Service Worker and |
+ receiving a message that it finished handling the event. Includes the time |
+ for the waitUntil() promise to settle. |
+ </summary> |
+</histogram> |
+ |
<histogram name="ServiceWorker.Database.DestroyDatabaseResult" |
enum="ServiceWorkerDatabaseStatus"> |
<owner>nhiroki@chromium.org</owner> |