diff options
author | hiroshige <hiroshige@chromium.org> | 2016-02-11 11:40:37 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-11 19:41:55 +0000 |
commit | 9ca3a66ecaad11b52f6a5ee4f04b0f0a26b7b27c (patch) | |
tree | 9d188f00e875a16e9770569484266ddb088b673b /tools | |
parent | 2e1de2f363bc5277b7378a702ea2fc7dd431a21d (diff) | |
download | chromium_src-9ca3a66ecaad11b52f6a5ee4f04b0f0a26b7b27c.zip chromium_src-9ca3a66ecaad11b52f6a5ee4f04b0f0a26b7b27c.tar.gz chromium_src-9ca3a66ecaad11b52f6a5ee4f04b0f0a26b7b27c.tar.bz2 |
[MemoryCache] Add UMAs for hitting Resource referenced only from MemoryCache
This is for estimating whether we should hold strong references to Resource
from MemoryCache.
Because there are no easy way to count all the references to Resource
(an Oilpan on-heap object), this CL only consider ResourceClients and
|ResourceFetcher::m_preloads|.
BUG=579496
Review URL: https://codereview.chromium.org/1680293006
Cr-Commit-Position: refs/heads/master@{#374926}
Diffstat (limited to 'tools')
-rw-r--r-- | tools/metrics/histograms/histograms.xml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml index 888ac3e..5d246c2 100644 --- a/tools/metrics/histograms/histograms.xml +++ b/tools/metrics/histograms/histograms.xml @@ -3165,11 +3165,22 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. </summary> </histogram> +<histogram name="Blink.MemoryCache.RevalidationPolicy.Dead" + enum="RevalidationPolicy"> + <owner>hiroshige@chromium.org</owner> + <summary> + RevalidationPolicy used for requests that hit Resource only referenced from + MemoryCache for each resource type. https://crbug.com/579496 Requests + counted by this are also counted by Blink.MemoryCache.RevalidationPolicy or + Blink.MemoryCache.RevalidationPolicy.Preload. + </summary> +</histogram> + <histogram name="Blink.MemoryCache.RevalidationPolicy.Preload" enum="RevalidationPolicy"> <owner>hiroshige@chromium.org</owner> <summary> - RevalidationPolicy of used for preloading requests for each resource type. + RevalidationPolicy used for preloading requests for each resource type. https://crbug.com/579496 </summary> </histogram> @@ -86964,6 +86975,7 @@ To add a new entry, add it with any value and run test to compute valid value. <suffix name="Media"/> <suffix name="Manifest"/> <affected-histogram name="Blink.MemoryCache.RevalidationPolicy"/> + <affected-histogram name="Blink.MemoryCache.RevalidationPolicy.Dead"/> <affected-histogram name="Blink.MemoryCache.RevalidationPolicy.Preload"/> </histogram_suffixes> |