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

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

Issue 2688633002: predictors: Add prefetching hit/miss histograms. (Closed)
Patch Set: Histograms.xml and comments. Created 3 years, 10 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 | « chrome/browser/predictors/resource_prefetcher_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 a78db125086afabb1b26eff8f927b0ab63c1999b..fce4bc7ce65a4518380ed0f455e877c4d300fc75 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -55122,6 +55122,32 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="ResourcePrefetchPredictor.PrefetchHitsCount.Cached">
alexilin 2017/02/13 17:41:49 tiny nit: specify units for count histograms also
Benoit L 2017/02/14 08:40:16 Done.
+ <owner>lizeb@chromium.org</owner>
+ <summary>
+ Number of resources that were prefetched and requested by a page load, for
+ cached requests. Logged after the prefetcher completes.
+ </summary>
+</histogram>
+
+<histogram name="ResourcePrefetchPredictor.PrefetchHitsCount.NotCached">
+ <owner>lizeb@chromium.org</owner>
+ <summary>
+ Number of resources that were prefetched and requested by a page load, for
+ non cached requests. Logged after the prefetcher completes.
+ </summary>
+</histogram>
+
+<histogram name="ResourcePrefetchPredictor.PrefetchHitsSizeKB" units="KB">
+ <owner>lizeb@chromium.org</owner>
+ <summary>
+ Amount of useful data fetched from the network for a prefetch request. This
+ is the total size of the resources accounted for in
+ ResourcePrefetchPredictor.PrefetchHitsCount.NotCached. Logged after the
+ prefetcher completes.
+ </summary>
+</histogram>
+
<histogram name="ResourcePrefetchPredictor.PrefetchingDuration" units="ms">
<owner>alexilin@chromium.org</owner>
<summary>
@@ -55131,6 +55157,33 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="ResourcePrefetchPredictor.PrefetchMissesCount.Cached">
+ <owner>lizeb@chromium.org</owner>
+ <summary>
+ Number of resources that were prefetched but not requested by a page load,
+ for cached requests. Logged after the prefetcher completes.
+ </summary>
+</histogram>
+
+<histogram name="ResourcePrefetchPredictor.PrefetchMissesCount.NotCached">
+ <owner>lizeb@chromium.org</owner>
+ <summary>
+ Number of resources that were prefetched but not requested by a page load,
+ for non cached requests, that is waste. Logged after the prefetcher
+ completes.
+ </summary>
+</histogram>
+
+<histogram name="ResourcePrefetchPredictor.PrefetchMissesSizeKB" units="KB">
+ <owner>lizeb@chromium.org</owner>
+ <summary>
+ Amount of wasted data fetched from the network for a prefetch request. This
+ is the total size of the resources accounted for in
+ ResourcePrefetchPredictor.PrefetchMissesCount.NotCached. Logged after the
+ prefetcher completes.
+ </summary>
+</histogram>
+
<histogram name="ResourcePrefetchPredictor.ReportingEvent"
enum="ResourcePrefetchPredictorReportingEvent">
<owner>alexilin@chromium.org</owner>
« no previous file with comments | « chrome/browser/predictors/resource_prefetcher_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698