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

Issue 2719533002: predictors: Add RedirectStatus histogram + fix redirects related bug. (Closed)

Created:
3 years, 10 months ago by alexilin
Modified:
3 years, 9 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 RedirectStatus histogram + fix redirects related bug. This CL adds a new enumeration histogram that allows to keep track of success of redirect predictions in the ResourcePrefetchPredictor. Also it fixes a bug with incorrect reporting prefetch and prediction accuracy histograms in presence of redirect. ResourcePrefetchPredictor uses the first url in the redirect chain to trigger prefetch so it has to use the same url when it reports accuracy histograms. BUG=680049 Review-Url: https://codereview.chromium.org/2719533002 Cr-Commit-Position: refs/heads/master@{#453197} Committed: https://chromium.googlesource.com/chromium/src/+/f82a5a8d7a819348f63dfd94e08901a5808645f1

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase. #

Patch Set 3 : Nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -48 lines) Patch
M chrome/browser/predictors/resource_prefetch_predictor.h View 3 chunks +31 lines, -3 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor.cc View 8 chunks +71 lines, -15 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor_unittest.cc View 14 chunks +117 lines, -30 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 2 chunks +18 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 10 (5 generated)
alexilin
isherman: PTAL at histograms.xml, thanks! lizeb: everything. There is another bug as well. StartPrefetching and ...
3 years, 10 months ago (2017-02-24 17:24:10 UTC) #2
Ilya Sherman
Metrics LGTM % a nit: https://codereview.chromium.org/2719533002/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2719533002/diff/1/tools/metrics/histograms/histograms.xml#newcode55372 tools/metrics/histograms/histograms.xml:55372: + wrong. nit: s/wrong/incorrectly
3 years, 10 months ago (2017-02-24 21:54:47 UTC) #3
Benoit L
lgtm, thanks.
3 years, 9 months ago (2017-02-27 12:05:00 UTC) #4
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/2719533002/40001
3 years, 9 months ago (2017-02-27 12:20:50 UTC) #7
commit-bot: I haz the power
3 years, 9 months ago (2017-02-27 13:16:36 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/f82a5a8d7a819348f63dfd94e089...

Powered by Google App Engine
This is Rietveld 408576698