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

Issue 23534009: Re-enable pre-read experiment as a finch field trial. (Closed)

Created:
7 years, 3 months ago by Roger McFarlane (Chromium)
Modified:
7 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Re-enable pre-read experiment as a finch field trial. This CL revives an expired pre-read experiment as a Finch field trial. About 2 months ago the expired experiment, and its fallback behaviour, were removed and there was a subsequent performance regression. R=cpu, asvitkine BUG=245435, 280721 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223070

Patch Set 1 #

Total comments: 8

Patch Set 2 : Declare all of the experiment groups... and other refactorings. #

Total comments: 30

Patch Set 3 : Address comments from chrisha and asvitkine. #

Total comments: 10

Patch Set 4 : Address Alexei's comments #

Total comments: 2

Patch Set 5 : Fix a nit #

Patch Set 6 : rebase #

Total comments: 12

Patch Set 7 : Fix nits and rebase #

Patch Set 8 : Expose pre-read environment constant on all platforms #

Patch Set 9 : uint8 to size_t for win64 compile #

Patch Set 10 : fix comment and rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -77 lines) Patch
M base/metrics/histogram.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/app/client_util.cc View 1 2 3 4 5 6 7 8 9 3 chunks +112 lines, -11 lines 0 comments Download
M chrome/app/image_pre_reader_win.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/app/image_pre_reader_win.cc View 1 2 3 4 5 6 7 8 6 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/chrome_browser_field_trials_desktop.cc View 1 2 3 4 5 6 4 chunks +47 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 4 chunks +4 lines, -52 lines 0 comments Download
M chrome/common/chrome_constants.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/chrome_constants.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
Roger McFarlane (Chromium)
PTAL @asvitkine, are there naming conventions for the trial and group names that i'm violating?
7 years, 3 months ago (2013-08-28 17:16:38 UTC) #1
Alexei Svitkine (slow)
https://chromiumcodereview.appspot.com/23534009/diff/1/chrome/app/client_util.cc File chrome/app/client_util.cc (right): https://chromiumcodereview.appspot.com/23534009/diff/1/chrome/app/client_util.cc#newcode78 chrome/app/client_util.cc:78: // If this user isn't reporting metrics, use the ...
7 years, 3 months ago (2013-08-28 17:30:50 UTC) #2
cpu_(ooo_6.6-7.5)
I want to hold on doing this until Roger's other pre-read CL lands and I ...
7 years, 3 months ago (2013-08-28 17:57:07 UTC) #3
Roger McFarlane (Chromium)
On 2013/08/28 17:57:07, cpu wrote: > I want to hold on doing this until Roger's ...
7 years, 3 months ago (2013-08-28 19:17:14 UTC) #4
Roger McFarlane (Chromium)
Another look? https://codereview.chromium.org/23534009/diff/1/chrome/app/client_util.cc File chrome/app/client_util.cc (right): https://codereview.chromium.org/23534009/diff/1/chrome/app/client_util.cc#newcode78 chrome/app/client_util.cc:78: // If this user isn't reporting metrics, ...
7 years, 3 months ago (2013-08-29 15:28:36 UTC) #5
chrisha
The overall approach looks good to me, but I'm not a Finch expert so I ...
7 years, 3 months ago (2013-08-29 15:52:19 UTC) #6
Alexei Svitkine (slow)
https://codereview.chromium.org/23534009/diff/8001/chrome/app/client_util.cc File chrome/app/client_util.cc (right): https://codereview.chromium.org/23534009/diff/8001/chrome/app/client_util.cc#newcode61 chrome/app/client_util.cc:61: return (build_time > expiration_time); Nit: No ()'s needed. https://codereview.chromium.org/23534009/diff/8001/chrome/app/client_util.cc#newcode64 ...
7 years, 3 months ago (2013-08-29 17:44:05 UTC) #7
Roger McFarlane (Chromium)
Thanks. Another look. +thakis for OWNERS. https://chromiumcodereview.appspot.com/23534009/diff/8001/chrome/app/client_util.cc File chrome/app/client_util.cc (right): https://chromiumcodereview.appspot.com/23534009/diff/8001/chrome/app/client_util.cc#newcode61 chrome/app/client_util.cc:61: return (build_time > ...
7 years, 3 months ago (2013-08-30 21:27:37 UTC) #8
Nico
Sounds like cpu has outstanding concerns on this patch, please come to some agreement with ...
7 years, 3 months ago (2013-08-30 22:28:06 UTC) #9
Alexei Svitkine (slow)
Thanks. Looking good generally, with a few more comments below. https://codereview.chromium.org/23534009/diff/37001/chrome/app/client_util.cc File chrome/app/client_util.cc (right): https://codereview.chromium.org/23534009/diff/37001/chrome/app/client_util.cc#newcode48 ...
7 years, 3 months ago (2013-09-03 14:59:16 UTC) #10
cpu_(ooo_6.6-7.5)
I need a bit more background here. Once we select to be in a given ...
7 years, 3 months ago (2013-09-03 18:13:10 UTC) #11
Roger McFarlane (Chromium)
@cpu: We derive the experiment group from the user's client/metrics id, which is fixed. We'll ...
7 years, 3 months ago (2013-09-03 18:38:42 UTC) #12
Alexei Svitkine (slow)
LGTM Please test this locally to ensure the field trial propagation works as expected. You ...
7 years, 3 months ago (2013-09-03 18:48:45 UTC) #13
Roger McFarlane (Chromium)
https://codereview.chromium.org/23534009/diff/45001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/23534009/diff/45001/chrome/browser/chrome_browser_main.cc#newcode1509 chrome/browser/chrome_browser_main.cc:1509: base::TimeDelta browser_open_delta = browser_open_end - browser_open_start; On 2013/09/03 18:48:45, ...
7 years, 3 months ago (2013-09-03 19:32:10 UTC) #14
Roger McFarlane (Chromium)
Carlos?
7 years, 3 months ago (2013-09-04 17:43:30 UTC) #15
cpu_(ooo_6.6-7.5)
see traffic on the bug.
7 years, 3 months ago (2013-09-04 23:23:50 UTC) #16
Roger McFarlane (Chromium)
+rvargas PTAL?
7 years, 3 months ago (2013-09-05 20:18:44 UTC) #17
cpu_(ooo_6.6-7.5)
lgtm https://codereview.chromium.org/23534009/diff/56001/chrome/app/client_util.cc File chrome/app/client_util.cc (right): https://codereview.chromium.org/23534009/diff/56001/chrome/app/client_util.cc#newcode143 chrome/app/client_util.cc:143: // Persiste the group name to the environment ...
7 years, 3 months ago (2013-09-05 20:21:16 UTC) #18
Nico
lgtm stamp
7 years, 3 months ago (2013-09-05 20:38:46 UTC) #19
rvargas (doing something else)
Just nits. lgtm https://codereview.chromium.org/23534009/diff/56001/chrome/app/client_util.cc File chrome/app/client_util.cc (right): https://codereview.chromium.org/23534009/diff/56001/chrome/app/client_util.cc#newcode69 chrome/app/client_util.cc:69: DCHECK(population != NULL); nit: we usually ...
7 years, 3 months ago (2013-09-05 22:18:48 UTC) #20
Roger McFarlane (Chromium)
Thanks. https://codereview.chromium.org/23534009/diff/56001/chrome/app/client_util.cc File chrome/app/client_util.cc (right): https://codereview.chromium.org/23534009/diff/56001/chrome/app/client_util.cc#newcode69 chrome/app/client_util.cc:69: DCHECK(population != NULL); On 2013/09/05 22:18:48, rvargas wrote: ...
7 years, 3 months ago (2013-09-11 20:42:54 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerm@chromium.org/23534009/69001
7 years, 3 months ago (2013-09-11 20:44:25 UTC) #22
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-11 21:22:00 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerm@chromium.org/23534009/101001
7 years, 3 months ago (2013-09-12 18:37:52 UTC) #24
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=78473
7 years, 3 months ago (2013-09-13 03:22:43 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerm@chromium.org/23534009/101001
7 years, 3 months ago (2013-09-13 14:05:07 UTC) #26
commit-bot: I haz the power
7 years, 3 months ago (2013-09-13 17:30:09 UTC) #27
Message was sent while issue was closed.
Change committed as 223070

Powered by Google App Engine
This is Rietveld 408576698