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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2073523003: Add tagged histogram with reasons of purging the dom storage databases (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-arrange ifs and add histogram names. Created 4 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/dom_storage/dom_storage_context_impl.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 922fdc96535588c2b4c8f74a3837079b58fc8921..37a00983ceff3c55a2d17a5884a9ea7689cfa36e 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -94815,6 +94815,19 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="LevelDB.Open"/>
</histogram_suffixes>
+<histogram_suffixes name="LocalStorageCachePurgeReason" separator=".">
+ <suffix name="AggressivePurgeTriggered"
+ label="Aggressive purge was triggered on memory pressure."/>
+ <suffix name="AreaCountLimitExceeded"
+ label="Storage areas count exceeded limit."/>
+ <suffix name="InactiveOnLowEndDevice"
+ label="Inactive areas found in low end device."/>
+ <suffix name="ModeratePurgeTriggered"
+ label="Moderate purge was triggered on memory pressure."/>
+ <suffix name="SizeLimitExceeded" label="Cache size exceeded limit."/>
+ <affected-histogram name="LocalStorage.BrowserLocalStorageCachePurgedInKB"/>
+</histogram_suffixes>
+
<histogram_suffixes name="LocalStorageSizes" separator="">
<suffix name="Under100KB" label="DB size under 100KB"/>
<suffix name="100KBTo1MB" label="DB size between 100KB and 1MB"/>
« no previous file with comments | « content/browser/dom_storage/dom_storage_context_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698