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 1152543002: ServiceWorker: Migrate the script cache backend from BlockFile to Simple (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporate falken@'s comments Created 5 years, 6 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 4e904cffd948e857ffbb3270c85a68228abd39ae..b1b3732940a8941c31c1d5b27982234b36808b50 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -36878,6 +36878,31 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="ServiceWorker.DiskCacheMigrator.MigrationResult"
+ enum="ServiceWorkerStatusCode">
+ <owner>nhiroki@chromium.org</owner>
+ <summary>
+ Records result of ServiceWorkerDiskCache migration from BlockFile to Simple.
+ </summary>
+</histogram>
+
+<histogram name="ServiceWorker.DiskCacheMigrator.MigrationTime"
+ units="milliseconds">
+ <owner>nhiroki@chromium.org</owner>
+ <summary>
+ Execution time of ServiceWorkerDiskCache migration from BlockFile to Simple.
+ </summary>
+</histogram>
+
+<histogram name="ServiceWorker.DiskCacheMigrator.NumberOfMigratedResources"
+ units="count">
+ <owner>nhiroki@chromium.org</owner>
+ <summary>
+ The counts of resources migrated by ServiceWorkerDiskCacheMigrator. This
+ includes the main script and imported scripts.
+ </summary>
+</histogram>
+
<histogram name="ServiceWorker.FetchEvent.Time" units="milliseconds">
<owner>shimazu@chromium.org</owner>
<summary>
@@ -37069,6 +37094,14 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="ServiceWorker.Storage.DiskCacheMigrationResult"
+ enum="ServiceWorkerDiskCacheMigrationResult">
+ <owner>nhiroki@chromium.org</owner>
+ <summary>
+ Records result of diskcache migration operations in ServiceWorkerStorage.
+ </summary>
+</histogram>
+
<histogram name="ServiceWorker.UnhandledEventRatio" units="percent">
<owner>kinuko@chromium.org</owner>
<summary>
@@ -64712,6 +64745,22 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="2" label="Failed to delete ServiceWorkerDiskCache"/>
</enum>
+<enum name="ServiceWorkerDiskCacheMigrationResult" type="int">
+ <int value="0" label="MIGRATION_OK"/>
+ <int value="1" label="MIGRATION_NOT_NECESSARY"/>
+ <int value="2" label="MIGRATION_ERROR_INITIALIZE"/>
+ <int value="3" label="MIGRATION_ERROR_FAILED"/>
+ <int value="4" label="MIGRATION_ERROR_DELETE_DISK_CACHE"/>
+</enum>
+
+<enum name="ServiceWorkerPlatformNotificationStatus" type="int">
+ <int value="0" label="OK"/>
+ <int value="1" label="Service Worker not found"/>
+ <int value="2" label="Service Worker error"/>
+ <int value="3" label="event.waitUntil promise rejected"/>
+ <int value="4" label="Database error"/>
+</enum>
+
<enum name="ServiceWorkerReadResponseResult" type="int">
<int value="0" label="OK"/>
<int value="1" label="Read headers error"/>

Powered by Google App Engine
This is Rietveld 408576698