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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2355493003: [SimpleCache] Track some SimpleCache size stats on initialization (Closed)
Patch Set: Address comments from PS2 Created 4 years, 2 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 | « net/disk_cache/simple/simple_index.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 db79a3ce5c1c80b78b99517e17a4c6ee11bfab69..aeb9a5a9ba80f778874f700052c123eece572d63 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -56349,6 +56349,13 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="SimpleCache.CacheSizeOnInit" units="KB">
+ <owner>jkarlin@chromium.org</owner>
+ <summary>
+ The size of the cache at the time that the index has finished initializing.
+ </summary>
+</histogram>
+
<histogram name="SimpleCache.CheckCRCResult" enum="CheckCRCResult">
<owner>gavinp@chromium.org</owner>
<summary>
@@ -56634,6 +56641,14 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="SimpleCache.IndexNumEntriesOnInit" units="entries">
+ <owner>jkarlin@chromium.org</owner>
+ <summary>
+ The number of entries in the index at the time that the index has finished
+ initializing.
+ </summary>
+</histogram>
+
<histogram name="SimpleCache.IndexNumEntriesOnWrite">
<owner>gavinp@chromium.org</owner>
<summary>The number of entries written to the index on a flush.</summary>
@@ -56749,6 +56764,14 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="SimpleCache.MaxCacheSizeOnInit" units="KB">
+ <owner>jkarlin@chromium.org</owner>
+ <summary>
+ The maximum allowed size of the cache at the time that the index has
+ finished initializing.
+ </summary>
+</histogram>
+
<histogram name="SimpleCache.OpenEntryIndexState"
enum="SimpleCacheOpenEntryIndexState">
<owner>gavinp@chromium.org</owner>
@@ -56757,6 +56780,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="SimpleCache.PercentFullOnInit" units="%">
+ <owner>jkarlin@chromium.org</owner>
+ <summary>
+ The fullness (in percent) of the cache at the time that the index has
+ finished initializing. The percentage is calculated as (cache_size * 100) /
+ max_cache_size.
+ </summary>
+</histogram>
+
<histogram name="SimpleCache.ReadIsParallelizable"
enum="SimpleCacheReadParallelizable">
<owner>gavinp@chromium.org</owner>
@@ -101292,6 +101324,7 @@ To add a new entry, add it with any value and run test to compute valid value.
label="Collected from the HTML5 Application Cache instance."/>
<suffix name="Http" label="Collected from the HTTP Cache instance."/>
<suffix name="Media" label="Collected from the Media Cache instance."/>
+ <affected-histogram name="SimpleCache.CacheSizeOnInit"/>
<affected-histogram name="SimpleCache.CheckCRCResult"/>
<affected-histogram name="SimpleCache.CreationToIndex"/>
<affected-histogram name="SimpleCache.CreationToIndexFail"/>
@@ -101330,6 +101363,7 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="SimpleCache.IndexInitializationWaiters"/>
<affected-histogram name="SimpleCache.IndexInitializeMethod"/>
<affected-histogram name="SimpleCache.IndexLoadTime"/>
+ <affected-histogram name="SimpleCache.IndexNumEntriesOnInit"/>
<affected-histogram name="SimpleCache.IndexNumEntriesOnWrite"/>
<affected-histogram name="SimpleCache.IndexRestoreTime"/>
<affected-histogram name="SimpleCache.IndexWriteInterval.Background"/>
@@ -101341,7 +101375,9 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="SimpleCache.KeyMatchedOnOpen"/>
<affected-histogram name="SimpleCache.LastClusterLossPercent"/>
<affected-histogram name="SimpleCache.LastClusterSize"/>
+ <affected-histogram name="SimpleCache.MaxCacheSizeOnInit"/>
<affected-histogram name="SimpleCache.OpenEntryIndexState"/>
+ <affected-histogram name="SimpleCache.PercentFullOnInit"/>
<affected-histogram name="SimpleCache.ReadIsParallelizable"/>
<affected-histogram name="SimpleCache.ReadResult"/>
<affected-histogram name="SimpleCache.StaleIndexExtraEntryCount"/>
« no previous file with comments | « net/disk_cache/simple/simple_index.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698