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

Issue 550453002: Avoid doing periodic prerender cleanup when there are no contents. (Closed)

Created:
6 years, 3 months ago by tonyg
Modified:
6 years, 3 months ago
CC:
chromium-reviews, tburkard+watch_chromium.org, gavinp+prer_chromium.org, cbentzel+watch_chromium.org, dominich+watch_chromium.org, davidben+watch_chromium.org, sullivan, jeremy, Lei Zhang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Avoid doing periodic prerender cleanup when there are no contents. This eliminates about 30 idle wakeups in the tab_switching.top_10 energy benchmark. BUG=411489 Committed: https://crrev.com/9461b64ca4b0d4bb8adac97306621ff1f62f21eb Cr-Commit-Position: refs/heads/master@{#295311}

Patch Set 1 #

Patch Set 2 : Disable match complete by default #

Total comments: 1

Patch Set 3 : Update histograms.xml #

Patch Set 4 : fix histogram.xml typo #

Total comments: 1

Patch Set 5 : Update probabilities #

Patch Set 6 : Update tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -11 lines) Patch
M chrome/browser/prerender/prerender_browsertest.cc View 1 2 3 4 5 5 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_field_trial.cc View 1 2 3 4 5 chunks +29 lines, -10 lines 0 comments Download
M chrome/browser/prerender/prerender_manager.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_manager.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/prerender/prerender_unittest.cc View 1 2 3 4 5 3 chunks +12 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 19 chunks +36 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (5 generated)
tonyg
Hey Matt, Timo, I noticed this periodic timer while studying our idle energy benchmarks. It's ...
6 years, 3 months ago (2014-09-05 21:10:26 UTC) #2
mmenke
On 2014/09/05 21:10:26, tonyg wrote: > Hey Matt, Timo, > > I noticed this periodic ...
6 years, 3 months ago (2014-09-05 21:20:02 UTC) #3
mmenke
On 2014/09/05 21:20:02, mmenke wrote: > On 2014/09/05 21:10:26, tonyg wrote: > > Hey Matt, ...
6 years, 3 months ago (2014-09-05 21:20:56 UTC) #4
tonyg
> I'd argue it makes more sense to just get rid of the logic to ...
6 years, 3 months ago (2014-09-05 21:23:29 UTC) #5
mmenke
On 2014/09/05 21:23:29, tonyg wrote: > > I'd argue it makes more sense to just ...
6 years, 3 months ago (2014-09-05 21:28:36 UTC) #6
tburkard
On 2014/09/05 21:28:36, mmenke wrote: > On 2014/09/05 21:23:29, tonyg wrote: > > > I'd ...
6 years, 3 months ago (2014-09-10 08:09:49 UTC) #7
tburkard
Btw, sorry about the delayed response, but I was on vacation on Monday and Tuesday.
6 years, 3 months ago (2014-09-10 08:10:09 UTC) #8
mmenke
On 2014/09/10 08:09:49, tburkard wrote: > On 2014/09/05 21:28:36, mmenke wrote: > > On 2014/09/05 ...
6 years, 3 months ago (2014-09-10 13:58:03 UTC) #9
tburkard
On 2014/09/10 13:58:03, mmenke wrote: > On 2014/09/10 08:09:49, tburkard wrote: > > On 2014/09/05 ...
6 years, 3 months ago (2014-09-11 09:28:54 UTC) #10
tonyg
Good idea. I've updated the patch to the experiment-based approach. Is this patch enough to ...
6 years, 3 months ago (2014-09-13 01:12:01 UTC) #11
mmenke
On 2014/09/13 01:12:01, tonyg wrote: > Good idea. I've updated the patch to the experiment-based ...
6 years, 3 months ago (2014-09-15 14:10:34 UTC) #12
tburkard
Looks good so far, however, I want to think about this for a few more ...
6 years, 3 months ago (2014-09-16 12:54:21 UTC) #13
tonyg
This isn't particularly urgent, but I'd like to make sure it doesn't languish. Could we ...
6 years, 3 months ago (2014-09-16 16:04:32 UTC) #14
tburkard
Sounds good, I will wrap it up in the next day or two, so that ...
6 years, 3 months ago (2014-09-16 18:23:19 UTC) #15
tburkard
LGTM if you incorporate the updated probabilities below. Thanks. https://codereview.chromium.org/550453002/diff/60001/chrome/browser/prerender/prerender_field_trial.cc File chrome/browser/prerender/prerender_field_trial.cc (right): https://codereview.chromium.org/550453002/diff/60001/chrome/browser/prerender/prerender_field_trial.cc#newcode133 chrome/browser/prerender/prerender_field_trial.cc:133: ...
6 years, 3 months ago (2014-09-17 09:23:20 UTC) #16
tonyg
On 2014/09/17 09:23:20, tburkard wrote: > LGTM if you incorporate the updated probabilities below. Done ...
6 years, 3 months ago (2014-09-17 14:45:54 UTC) #18
Alexei Svitkine (slow)
LGTM I guess, but this field trial and histograms really need to be overhauled. It's ...
6 years, 3 months ago (2014-09-17 14:56:49 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/550453002/80001
6 years, 3 months ago (2014-09-17 14:58:49 UTC) #21
davidben
On 2014/09/17 14:56:49, Alexei Svitkine wrote: > LGTM I guess, but this field trial and ...
6 years, 3 months ago (2014-09-17 15:03:09 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/14649)
6 years, 3 months ago (2014-09-17 16:20:08 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/550453002/100001
6 years, 3 months ago (2014-09-17 17:25:43 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001) as 3664b434f8e43c44d27539477ce4413e5f199663
6 years, 3 months ago (2014-09-17 18:56:12 UTC) #27
commit-bot: I haz the power
6 years, 3 months ago (2014-09-17 18:56:47 UTC) #28
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9461b64ca4b0d4bb8adac97306621ff1f62f21eb
Cr-Commit-Position: refs/heads/master@{#295311}

Powered by Google App Engine
This is Rietveld 408576698