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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2168123002: [CacheStorage] Add metrics to the scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't use unnamed namespace in header file 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index a96bb359a32a81b581352ffede3f893a40b1607f..84528dfa4e781123e4d4c5249a4b3d0abb1ca315 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -51993,6 +51993,36 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="ServiceWorkerCache.Scheduler.OperationDuration" units="ms">
+ <owner>jkarlin@chromium.org</owner>
+ <summary>
+ The time in ms from when an operation's is started until it completes.
jsbell 2016/07/21 18:13:31 nit: remove 's
jkarlin 2016/07/21 18:29:24 Done.
+ </summary>
+</histogram>
+
+<histogram name="ServiceWorkerCache.Scheduler.OperationSlow" enum="BooleanSlow">
+ <owner>jkarlin@chromium.org</owner>
+ <summary>
+ An operation is slow if it takes at least 10 seconds to run. If an operation
+ never completes, it will still be recorded as slow.
+ </summary>
+</histogram>
+
+<histogram name="ServiceWorkerCache.Scheduler.QueueDuration" units="ms">
+ <owner>jkarlin@chromium.org</owner>
+ <summary>
+ The time in ms from when an operation was queued until its task is posted.
+ </summary>
+</histogram>
+
+<histogram name="ServiceWorkerCache.Scheduler.QueueLength">
+ <owner>jkarlin@chromium.org</owner>
+ <summary>
+ The number of elements in the scheduling queue just before enqueuing a new
+ operation.
+ </summary>
+</histogram>
+
<histogram name="Session.TotalDuration" units="ms">
<owner>mariakhomenko@chromium.org</owner>
<owner>fqian@chromium.org</owner>
@@ -67976,6 +68006,11 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="1" label="Skipped"/>
</enum>
+<enum name="BooleanSlow" type="int">
+ <int value="0" label="Not slow"/>
+ <int value="1" label="Slow"/>
+</enum>
+
<enum name="BooleanStale" type="int">
<int value="0" label="Fresh"/>
<int value="1" label="Stale"/>
@@ -100564,6 +100599,18 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="ServiceWorkerCache.CacheStorage"/>
</histogram_suffixes>
+<histogram_suffixes name="ServiceWorkerScheduler" separator="."
+ ordering="prefix">
+ <affected-histogram name="ServiceWorkerCache.Scheduler.OperationDuration"/>
+ <suffix name="CacheStorage" label="Collected from a CacheStorage instance"/>
+ <suffix name="Cache" label="Collected from a CacheStorageCache instance"/>
+ <suffix name="BackgroundSyncManager"
+ label="Collected from a BackgroundSyncManager instance"/>
+ <affected-histogram name="ServiceWorkerCache.Scheduler.OperationSlow"/>
+ <affected-histogram name="ServiceWorkerCache.Scheduler.QueueDuration"/>
+ <affected-histogram name="ServiceWorkerCache.Scheduler.QueueLength"/>
+</histogram_suffixes>
+
<histogram_suffixes name="ServiceWorkerSpecialApps" separator=".">
<suffix name="inbox" label="Custom histogram for Inbox"/>
<affected-histogram
« content/browser/cache_storage/cache_storage_scheduler.h ('K') | « content/content_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698