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

Issue 15021007: Do conservative prerendering based on the LocalPredictor in Dev/Canary. (Closed)

Created:
7 years, 7 months ago by tburkard
Modified:
7 years, 7 months ago
Reviewers:
Nico, Shishir
CC:
chromium-reviews, tburkard+watch_chromium.org, gavinp+prer_chromium.org, cbentzel+watch_chromium.org, dominich+watch_chromium.org, mmenke
Visibility:
Public.

Description

Do conservative prerendering based on the LocalPredictor in Dev/Canary. Also disables SideEffectFreeWhitelist field trial. BUG=239180 R=shishir@chromium.org, thakis@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199040

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 39

Patch Set 8 : #

Patch Set 9 : #

Total comments: 10

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+458 lines, -112 lines) Patch
M chrome/browser/prerender/prerender_field_trial.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +24 lines, -1 line 0 comments Download
M chrome/browser/prerender/prerender_histograms.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_local_predictor.h View 1 2 3 4 5 6 7 8 9 6 chunks +52 lines, -7 lines 0 comments Download
M chrome/browser/prerender/prerender_local_predictor.cc View 1 2 3 4 5 6 7 8 9 16 chunks +344 lines, -100 lines 0 comments Download
M chrome/browser/prerender/prerender_manager.h View 3 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/prerender/prerender_manager.cc View 1 3 chunks +15 lines, -3 lines 0 comments Download
M chrome/browser/prerender/prerender_origin.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_origin.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
tburkard
7 years, 7 months ago (2013-05-07 18:06:20 UTC) #1
Shishir
https://codereview.chromium.org/15021007/diff/36009/chrome/browser/prerender/prerender_field_trial.cc File chrome/browser/prerender/prerender_field_trial.cc (right): https://codereview.chromium.org/15021007/diff/36009/chrome/browser/prerender/prerender_field_trial.cc#newcode236 chrome/browser/prerender/prerender_field_trial.cc:236: chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel(); Since this can have bad ...
7 years, 7 months ago (2013-05-07 22:57:30 UTC) #2
tburkard
https://codereview.chromium.org/15021007/diff/36009/chrome/browser/prerender/prerender_field_trial.cc File chrome/browser/prerender/prerender_field_trial.cc (right): https://codereview.chromium.org/15021007/diff/36009/chrome/browser/prerender/prerender_field_trial.cc#newcode236 chrome/browser/prerender/prerender_field_trial.cc:236: chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel(); I will do this separately ...
7 years, 7 months ago (2013-05-07 23:21:59 UTC) #3
tburkard
Added the about:flag disable mechanism. This should address all the comments you had, please take ...
7 years, 7 months ago (2013-05-08 00:19:21 UTC) #4
tburkard
https://codereview.chromium.org/15021007/diff/36009/chrome/browser/prerender/prerender_local_predictor.cc File chrome/browser/prerender/prerender_local_predictor.cc (right): https://codereview.chromium.org/15021007/diff/36009/chrome/browser/prerender/prerender_local_predictor.cc#newcode681 chrome/browser/prerender/prerender_local_predictor.cc:681: RecordEvent(EVENT_CONTINUE_PRERENDER_CHECK_NOT_LOGGED_IN); Sorry, didn't properly reply to this. No, the ...
7 years, 7 months ago (2013-05-08 00:25:26 UTC) #5
tburkard
thakis: could you please review chrome/common and chrome/app, addition of an about flag and a ...
7 years, 7 months ago (2013-05-08 20:06:16 UTC) #6
Shishir
https://codereview.chromium.org/15021007/diff/36009/chrome/browser/prerender/prerender_local_predictor.cc File chrome/browser/prerender/prerender_local_predictor.cc (right): https://codereview.chromium.org/15021007/diff/36009/chrome/browser/prerender/prerender_local_predictor.cc#newcode78 chrome/browser/prerender/prerender_local_predictor.cc:78: while (insert_pos > 0 && On 2013/05/07 23:21:59, tburkard ...
7 years, 7 months ago (2013-05-08 20:19:20 UTC) #7
Nico
From the CL description, this sounds big enough that it should have a BUG= line ...
7 years, 7 months ago (2013-05-08 20:22:09 UTC) #8
tburkard
Re: Shishir's comments. Nico, I will respond to yours in a sec. https://codereview.chromium.org/15021007/diff/36009/chrome/browser/prerender/prerender_local_predictor.cc File chrome/browser/prerender/prerender_local_predictor.cc ...
7 years, 7 months ago (2013-05-08 20:35:46 UTC) #9
tburkard
On 2013/05/08 20:22:09, Nico wrote: > From the CL description, this sounds big enough that ...
7 years, 7 months ago (2013-05-08 20:40:11 UTC) #10
Nico
On Wed, May 8, 2013 at 1:40 PM, <tburkard@chromium.org> wrote: > On 2013/05/08 20:22:09, Nico ...
7 years, 7 months ago (2013-05-08 20:51:09 UTC) #11
tburkard
I don't feel strongly about adding the flag, shishir@ on this review made a case ...
7 years, 7 months ago (2013-05-08 20:53:15 UTC) #12
Nico
If you want to do a/b experiments, have you considered Finch? If this is just ...
7 years, 7 months ago (2013-05-08 20:57:32 UTC) #13
Shishir
On 2013/05/08 20:53:15, tburkard wrote: > I don't feel strongly about adding the flag, shishir@ ...
7 years, 7 months ago (2013-05-08 20:58:26 UTC) #14
tburkard
I'm perfectly fine removing it, in fact, that's the way i had it before. Shishir, ...
7 years, 7 months ago (2013-05-08 20:58:31 UTC) #15
tburkard
I think Shishir made two excellent points here, so based on that, I'd prefer having ...
7 years, 7 months ago (2013-05-08 20:59:22 UTC) #16
Nico
On Wed, May 8, 2013 at 1:58 PM, <shishir@chromium.org> wrote: > On 2013/05/08 20:53:15, tburkard ...
7 years, 7 months ago (2013-05-08 21:02:36 UTC) #17
tburkard
I think shishir does make a good point re: testing though. But for testing, just ...
7 years, 7 months ago (2013-05-08 21:19:34 UTC) #18
Shishir
On 2013/05/08 21:19:34, tburkard wrote: > I think shishir does make a good point re: ...
7 years, 7 months ago (2013-05-08 21:21:23 UTC) #19
Nico
As I said, lgtm for whatever you want to do as long as the flag ...
7 years, 7 months ago (2013-05-08 21:22:50 UTC) #20
Shishir
Is the latest patch up to date? I dont see the prerender tab helper.
7 years, 7 months ago (2013-05-08 21:25:09 UTC) #21
tburkard
Yes, it is up to date. I removed prerender_tab_helper (I wrote that in the response ...
7 years, 7 months ago (2013-05-08 21:26:18 UTC) #22
tburkard
Nico: Per shishir, removed the about flag, now there's only a switch. (see new patchset)
7 years, 7 months ago (2013-05-08 21:28:19 UTC) #23
Shishir
prerender lgtm.
7 years, 7 months ago (2013-05-08 22:49:26 UTC) #24
tburkard
7 years, 7 months ago (2013-05-08 23:05:50 UTC) #25
Message was sent while issue was closed.
Committed patchset #12 manually as r199040 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698