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

Issue 2625063002: predictors: Add ResourcePrefetchPredictor database readiness histogram. (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 ResourcePrefetchPredictor database readiness histogram. Predictor needs time to learn about user favorites pages. Special age metric is introduced to show that the predictor database is large enough. Metric is "large" when most users have learned about most of their pages, and "small" otherwise. BUG=680049 Review-Url: https://codereview.chromium.org/2625063002 Cr-Commit-Position: refs/heads/master@{#443521} Committed: https://chromium.googlesource.com/chromium/src/+/27032ce5253ef29711946ce32a68f3ce0ab6298f

Patch Set 1 #

Total comments: 1

Patch Set 2 : Make report method const. #

Patch Set 3 : More checks. #

Patch Set 4 : Add comments. #

Total comments: 2

Patch Set 5 : Change histogram description. #

Total comments: 5

Patch Set 6 : Update histogram description. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -18 lines) Patch
M chrome/browser/predictors/resource_prefetch_predictor.h View 1 2 3 1 chunk +12 lines, -9 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor.cc View 1 2 5 chunks +66 lines, -9 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (10 generated)
alexilin
Hey! I've started to implement histograms for upcoming finch experiment. Top-level question: is it okay ...
3 years, 11 months ago (2017-01-11 10:06:16 UTC) #2
alexilin
From offline discussion we've decided - to filter users with no sufficient history - to ...
3 years, 11 months ago (2017-01-11 17:20:56 UTC) #3
Benoit L
lgtm, thanks. https://codereview.chromium.org/2625063002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2625063002/diff/60001/tools/metrics/histograms/histograms.xml#newcode53231 tools/metrics/histograms/histograms.xml:53231: +<histogram name="ResourcePrefetchPredictor.DatabaseReadiness"> nit: Since the reported value ...
3 years, 11 months ago (2017-01-12 15:34:55 UTC) #4
alexilin
isherman: please review histograms.xml, thanks!
3 years, 11 months ago (2017-01-12 15:59:14 UTC) #6
Ilya Sherman
https://codereview.chromium.org/2625063002/diff/80001/chrome/browser/predictors/resource_prefetch_predictor.cc File chrome/browser/predictors/resource_prefetch_predictor.cc (right): https://codereview.chromium.org/2625063002/diff/80001/chrome/browser/predictors/resource_prefetch_predictor.cc#newcode617 chrome/browser/predictors/resource_prefetch_predictor.cc:617: // Report readiness metric with 20% probability. What's the ...
3 years, 11 months ago (2017-01-12 21:10:39 UTC) #7
alexilin
https://codereview.chromium.org/2625063002/diff/80001/chrome/browser/predictors/resource_prefetch_predictor.cc File chrome/browser/predictors/resource_prefetch_predictor.cc (right): https://codereview.chromium.org/2625063002/diff/80001/chrome/browser/predictors/resource_prefetch_predictor.cc#newcode617 chrome/browser/predictors/resource_prefetch_predictor.cc:617: // Report readiness metric with 20% probability. On 2017/01/12 ...
3 years, 11 months ago (2017-01-12 22:53:13 UTC) #8
Ilya Sherman
Metrics LGTM https://codereview.chromium.org/2625063002/diff/80001/chrome/browser/predictors/resource_prefetch_predictor.cc File chrome/browser/predictors/resource_prefetch_predictor.cc (right): https://codereview.chromium.org/2625063002/diff/80001/chrome/browser/predictors/resource_prefetch_predictor.cc#newcode617 chrome/browser/predictors/resource_prefetch_predictor.cc:617: // Report readiness metric with 20% probability. ...
3 years, 11 months ago (2017-01-12 23:08:08 UTC) #11
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/2625063002/100001
3 years, 11 months ago (2017-01-13 09:22:44 UTC) #16
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 09:27:32 UTC) #19
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/27032ce5253ef29711946ce32a68...

Powered by Google App Engine
This is Rietveld 408576698