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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 323013003: Add histograms to track age of cache entries for web fonts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use entry->GetKey() Created 6 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 | « net/disk_cache/blockfile/webfonts_histogram.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 4018f9a8497678158cda945d67382921b8f27cea..a8f2de916cd0b6d4a4a63d61f0fd800ff16937b6 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -31840,6 +31840,24 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<summary>The success or failure of web fonts CORS-enabled fetching.</summary>
</histogram>
+<histogram name="WebFont.DiskCache.EntryAge.Evict" units="hours">
+ <owner>kenjibaheux@chromium.org</owner>
+ <owner>ksakamoto@chromium.org</owner>
+ <summary>
+ Recorded upon an eviction of a cache entry for a font in Google Fonts.
+ Records the age of the cache entry.
+ </summary>
+</histogram>
+
+<histogram name="WebFont.DiskCache.EntryAge.Hit" units="hours">
+ <owner>kenjibaheux@chromium.org</owner>
+ <owner>ksakamoto@chromium.org</owner>
+ <summary>
+ Recorded upon a cache hit for a font in Google Fonts. Records the age of the
+ cache entry.
+ </summary>
+</histogram>
+
<histogram name="WebFont.DiskCache.ReuseCount.Evict">
<owner>kenjibaheux@chromium.org</owner>
<owner>ksakamoto@chromium.org</owner>
@@ -48032,6 +48050,8 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<suffix name="roboto" label="Roboto font"/>
<suffix name="opensans" label="Open Sans font"/>
<suffix name="others" label="Fonts other than Roboto and Open Sans"/>
+ <affected-histogram name="WebFont.DiskCache.EntryAge.Evict"/>
+ <affected-histogram name="WebFont.DiskCache.EntryAge.Hit"/>
<affected-histogram name="WebFont.DiskCache.ReuseCount.Evict"/>
<affected-histogram name="WebFont.DiskCache.ReuseCount.Hit"/>
<affected-histogram name="WebFont.DiskCacheHit"/>
« no previous file with comments | « net/disk_cache/blockfile/webfonts_histogram.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698