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

Issue 2654913004: predictors: Add prefetcher histograms for speculative prefetch. (Closed)

Created:
3 years, 11 months ago by alexilin
Modified:
3 years, 11 months ago
Reviewers:
Benoit L, Ilya Sherman
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

predictors: Add prefetcher histograms for speculative prefetch. Prefetching is most useful when a prefetched resource isn't in cache or needs to be revalidated. This CL adds a histogram that allows us to estimate how often the predictor prefetches resources from the network and how often from the cache. This CL also adds histograms for a single prefetcher instance: count of prefeched resources and amount of consumed KB. BUG=680049 Review-Url: https://codereview.chromium.org/2654913004 Cr-Commit-Position: refs/heads/master@{#446309} Committed: https://chromium.googlesource.com/chromium/src/+/075c5d682d0b00fb8e311a23990082567c8b98e3

Patch Set 1 #

Patch Set 2 : Change histogram range. #

Total comments: 7

Patch Set 3 : Tiny change in histogram description. #

Total comments: 4

Patch Set 4 : Update histograms description. #

Patch Set 5 : Fix types. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -6 lines) Patch
M chrome/browser/predictors/resource_prefetcher.h View 1 2 3 4 3 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/predictors/resource_prefetcher.cc View 1 5 chunks +23 lines, -1 line 0 comments Download
M chrome/browser/predictors/resource_prefetcher_unittest.cc View 5 chunks +53 lines, -4 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
alexilin
Please review this change, thanks!
3 years, 11 months ago (2017-01-25 12:38:56 UTC) #2
Benoit L
lgtm, thanks! https://codereview.chromium.org/2654913004/diff/20001/chrome/browser/predictors/resource_prefetcher.h File chrome/browser/predictors/resource_prefetcher.h (right): https://codereview.chromium.org/2654913004/diff/20001/chrome/browser/predictors/resource_prefetcher.h#newcode125 chrome/browser/predictors/resource_prefetcher.h:125: int64_t prefetched_count_; why not int? https://codereview.chromium.org/2654913004/diff/20001/tools/metrics/histograms/histograms.xml File ...
3 years, 11 months ago (2017-01-25 17:22:35 UTC) #4
alexilin
isherman: Please review histograms.xml. Thanks! https://codereview.chromium.org/2654913004/diff/20001/chrome/browser/predictors/resource_prefetcher.h File chrome/browser/predictors/resource_prefetcher.h (right): https://codereview.chromium.org/2654913004/diff/20001/chrome/browser/predictors/resource_prefetcher.h#newcode125 chrome/browser/predictors/resource_prefetcher.h:125: int64_t prefetched_count_; On 2017/01/25 ...
3 years, 11 months ago (2017-01-25 17:47:33 UTC) #6
Ilya Sherman
Metrics LGTM % comments: https://codereview.chromium.org/2654913004/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2654913004/diff/40001/tools/metrics/histograms/histograms.xml#newcode54518 tools/metrics/histograms/histograms.xml:54518: +<histogram name="ResourcePrefetchPredictor.PrefetchedCount"> nit: Please add ...
3 years, 11 months ago (2017-01-25 18:20:09 UTC) #7
alexilin
https://codereview.chromium.org/2654913004/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2654913004/diff/40001/tools/metrics/histograms/histograms.xml#newcode54518 tools/metrics/histograms/histograms.xml:54518: +<histogram name="ResourcePrefetchPredictor.PrefetchedCount"> On 2017/01/25 18:20:09, Ilya Sherman wrote: > ...
3 years, 11 months ago (2017-01-26 08:41:38 UTC) #8
alexilin
https://codereview.chromium.org/2654913004/diff/20001/chrome/browser/predictors/resource_prefetcher.h File chrome/browser/predictors/resource_prefetcher.h (right): https://codereview.chromium.org/2654913004/diff/20001/chrome/browser/predictors/resource_prefetcher.h#newcode125 chrome/browser/predictors/resource_prefetcher.h:125: int64_t prefetched_count_; On 2017/01/25 17:47:33, alexilin wrote: > On ...
3 years, 11 months ago (2017-01-26 09:38:59 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2654913004/80001
3 years, 11 months ago (2017-01-26 09:39:13 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/300141)
3 years, 11 months ago (2017-01-26 11:53:14 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2654913004/80001
3 years, 11 months ago (2017-01-26 11:55:34 UTC) #20
commit-bot: I haz the power
3 years, 11 months ago (2017-01-26 12:44:52 UTC) #23
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/075c5d682d0b00fb8e311a239900...

Powered by Google App Engine
This is Rietveld 408576698