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

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

Issue 2688633002: predictors: Add prefetching hit/miss histograms. (Closed)
Patch Set: Add units. 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index a78db125086afabb1b26eff8f927b0ab63c1999b..11a3cdcf77c1324787f8775a385068ccc83ddba2 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -55122,6 +55122,34 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="ResourcePrefetchPredictor.PrefetchHitsCount.Cached"
+ units="count">
+ <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"
+ units="count">
+ <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 +55159,35 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="ResourcePrefetchPredictor.PrefetchMissesCount.Cached"
+ units="count">
+ <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"
+ units="count">
+ <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>

Powered by Google App Engine
This is Rietveld 408576698