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

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: rebase 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
« no previous file with comments | « content/browser/service_worker/service_worker_storage_unittest.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 bd56cb27746bc01175dd333d21c9e0c028399842..99d6be8afaca206ba746119da9d1c5888018dbaa 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -37094,6 +37094,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.MainResource.Status"
enum="ServiceWorkerStatusCode">
<owner>falken@chromium.org</owner>
@@ -37303,6 +37328,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>
@@ -65121,6 +65154,12 @@ 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_FAILED"/>
+</enum>
+
<enum name="ServiceWorkerReadResponseResult" type="int">
<int value="0" label="OK"/>
<int value="1" label="Read headers error"/>
« no previous file with comments | « content/browser/service_worker/service_worker_storage_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698