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

Issue 1090163004: Add experiment to exercise AffiliationService with dummy data, plus add related UMA histograms. (Closed)

Created:
5 years, 8 months ago by engedy
Modified:
5 years, 8 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org, vabr+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@update_copy
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add experiment to exercise AffiliationService with dummy data, plus add related UMA histograms. Add support for an experiment where affiliation information is prefetched for a set of dummy Android facet URIs on start-up. Then, first shortly after start-up, and then periodically once an hour, the AffiliationService is queried for affiliations of a set of related dummy Web facet URIs. It is expected that these requests can be answered from the cache. This allows testing the AffiliationService before it can be used with any real data. Furthermore, add UMA histograms to measure some basic metrics in general and wrt. the experiment: * AffiliationFetcher: Success/failure counts; and HTTP result and network error codes on failure. * AffiliationBackend: The number of facets requested in a single network fetch; the time before the first network fetch and between subsequent network fetches, to give an insight into how well the fetch scheduling/throttling logic works. * Experiment-specific: The number of times that affiliations for the dummy Web facets were successfully returned, and the number of results returned each time, to give an insight into how high the fill factor of data is in the cache. BUG=478952 Committed: https://crrev.com/c096020684b111a8ba7cf94f549841afdb0c96d1 Cr-Commit-Position: refs/heads/master@{#326284}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Addressed comments, more histograms, made everything just better. #

Patch Set 3 : Fix timing. #

Total comments: 5

Patch Set 4 : Address optional nits. #

Total comments: 8

Patch Set 5 : Addressed comments from mkwst@. #

Patch Set 6 : Comment phrasing. #

Messages

Total messages: 18 (4 generated)
engedy
@Ilya, could you please take a look at the histogram- and variations-related parts? @Mike, could ...
5 years, 8 months ago (2015-04-20 22:27:54 UTC) #2
Ilya Sherman
https://codereview.chromium.org/1090163004/diff/1/components/password_manager/core/browser/affiliated_match_helper.cc File components/password_manager/core/browser/affiliated_match_helper.cc (right): https://codereview.chromium.org/1090163004/diff/1/components/password_manager/core/browser/affiliated_match_helper.cc#newcode67 components/password_manager/core/browser/affiliated_match_helper.cc:67: UMA_HISTOGRAM_COUNTS_100("AffiliationService.DummyData.RequestResultCount", Would it be appropriate for these histograms to ...
5 years, 8 months ago (2015-04-21 00:38:05 UTC) #3
Mike West
The mechanics of the change LGTM, but I'll defer to Ilya for the metrics portion ...
5 years, 8 months ago (2015-04-21 08:53:42 UTC) #4
engedy
Addressed comments, updated CL description, and add some more histograms, and tidied up everything. @Ilya, ...
5 years, 8 months ago (2015-04-21 18:29:08 UTC) #5
Ilya Sherman
metrics LGTM % a couple of optional nits: https://codereview.chromium.org/1090163004/diff/1/components/password_manager/core/browser/affiliation_utils.cc File components/password_manager/core/browser/affiliation_utils.cc (right): https://codereview.chromium.org/1090163004/diff/1/components/password_manager/core/browser/affiliation_utils.cc#newcode326 components/password_manager/core/browser/affiliation_utils.cc:326: kFieldTrialName, ...
5 years, 8 months ago (2015-04-21 20:11:27 UTC) #6
engedy
https://codereview.chromium.org/1090163004/diff/40001/components/password_manager/core/browser/affiliated_match_helper.cc File components/password_manager/core/browser/affiliated_match_helper.cc (right): https://codereview.chromium.org/1090163004/diff/40001/components/password_manager/core/browser/affiliated_match_helper.cc#newcode68 components/password_manager/core/browser/affiliated_match_helper.cc:68: "PasswordManager.AffiliationDummyData.Startup_RequestSuccess", success); On 2015/04/21 20:11:27, Ilya Sherman wrote: > ...
5 years, 8 months ago (2015-04-21 20:23:16 UTC) #7
Ilya Sherman
(Still LGTM) https://codereview.chromium.org/1090163004/diff/40001/components/password_manager/core/browser/affiliated_match_helper.cc File components/password_manager/core/browser/affiliated_match_helper.cc (right): https://codereview.chromium.org/1090163004/diff/40001/components/password_manager/core/browser/affiliated_match_helper.cc#newcode68 components/password_manager/core/browser/affiliated_match_helper.cc:68: "PasswordManager.AffiliationDummyData.Startup_RequestSuccess", success); On 2015/04/21 20:23:16, engedy wrote: ...
5 years, 8 months ago (2015-04-21 21:46:53 UTC) #8
engedy
Mike, do you want to take another look at this? There have been a couple ...
5 years, 8 months ago (2015-04-22 08:29:47 UTC) #9
Mike West
Still LGTM % nits. https://codereview.chromium.org/1090163004/diff/60001/components/password_manager/core/browser/affiliated_match_helper.cc File components/password_manager/core/browser/affiliated_match_helper.cc (right): https://codereview.chromium.org/1090163004/diff/60001/components/password_manager/core/browser/affiliated_match_helper.cc#newcode63 components/password_manager/core/browser/affiliated_match_helper.cc:63: bool still_early_after_startup, Perhaps naming this ...
5 years, 8 months ago (2015-04-22 09:59:21 UTC) #10
engedy
https://codereview.chromium.org/1090163004/diff/60001/components/password_manager/core/browser/affiliated_match_helper.cc File components/password_manager/core/browser/affiliated_match_helper.cc (right): https://codereview.chromium.org/1090163004/diff/60001/components/password_manager/core/browser/affiliated_match_helper.cc#newcode63 components/password_manager/core/browser/affiliated_match_helper.cc:63: bool still_early_after_startup, On 2015/04/22 09:59:21, Mike West wrote: > ...
5 years, 8 months ago (2015-04-22 11:59:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1090163004/100001
5 years, 8 months ago (2015-04-22 12:00:05 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 8 months ago (2015-04-22 13:23:23 UTC) #15
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/c096020684b111a8ba7cf94f549841afdb0c96d1 Cr-Commit-Position: refs/heads/master@{#326284}
5 years, 8 months ago (2015-04-22 13:24:31 UTC) #16
oystein (OOO til 10th of July)
5 years, 8 months ago (2015-04-22 21:09:11 UTC) #18
Message was sent while issue was closed.
Reverted in https://codereview.chromium.org/1065773006 due to crbug.com/479841

Powered by Google App Engine
This is Rietveld 408576698