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

Issue 2950533002: android: Disable the startup DNS resolutions. (Closed)

Created:
3 years, 6 months ago by Benoit L
Modified:
3 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

android: Disable the startup DNS resolutions. On all platforms, Chrome observes the first requests at startup and speculatively starts DNS resolution for these at the next startup. It has limited effect on Android, as subsequent startups are likely to be different, due to the lack of homepage and pinned tabs. Furthermore, it can tie up to 3 threads on the WorkerPool thread pool, as DNS resolution is synchronous on Android. This thread pool is also used for certificate validation for instance. BUG=699080 Review-Url: https://codereview.chromium.org/2950533002 Cr-Commit-Position: refs/heads/master@{#482583} Committed: https://chromium.googlesource.com/chromium/src/+/8e8aa98f3b4b67412dc9d2a842d457f40b12caad

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 3

Patch Set 5 : Remove dead code. #

Total comments: 2

Patch Set 6 : Rebase. #

Patch Set 7 : nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -65 lines) Patch
M chrome/browser/net/predictor.h View 1 2 3 4 2 chunks +1 line, -32 lines 0 comments Download
M chrome/browser/net/predictor.cc View 1 2 3 4 5 6 11 chunks +73 lines, -33 lines 0 comments Download

Messages

Total messages: 33 (19 generated)
Benoit L
3 years, 6 months ago (2017-06-19 15:45:49 UTC) #7
Charlie Harrison
Are the assumptions around this CL likely to change in the future? If we think ...
3 years, 6 months ago (2017-06-19 15:50:49 UTC) #8
Benoit L
Thanks for the comment, you're right. Updated to disable the observer on Android. This leaves ...
3 years, 6 months ago (2017-06-20 11:36:47 UTC) #9
Charlie Harrison
Code wise this LGTM, but I'm wondering if we have a way of validating the ...
3 years, 6 months ago (2017-06-20 12:24:13 UTC) #12
Benoit L
On 2017/06/20 12:24:13, on gerrit - ping aggressively wrote: > Code wise this LGTM, but ...
3 years, 6 months ago (2017-06-20 13:04:36 UTC) #15
Charlie Harrison
Thanks for the info. 40-60ms deserialization time is much worse than I expected, even with ...
3 years, 6 months ago (2017-06-20 13:24:29 UTC) #16
Benoit L
https://codereview.chromium.org/2950533002/diff/60001/chrome/browser/net/predictor.cc File chrome/browser/net/predictor.cc (right): https://codereview.chromium.org/2950533002/diff/60001/chrome/browser/net/predictor.cc#newcode30 chrome/browser/net/predictor.cc:30: #include "base/trace_event/trace_event.h" On 2017/06/20 13:24:29, on gerrit - ping ...
3 years, 6 months ago (2017-06-20 13:30:17 UTC) #17
Charlie Harrison
FYI I am not an owner here so we'll need chrome/browser/net signoff too. https://codereview.chromium.org/2950533002/diff/60001/chrome/browser/net/predictor.cc File ...
3 years, 6 months ago (2017-06-20 13:32:22 UTC) #18
Benoit L
Thanks! I knew that you're not an owner, but wanted your opinion first. I've updated ...
3 years, 6 months ago (2017-06-21 12:58:14 UTC) #19
Benoit L
+jkarlin for review and OWNERS approval as well. PTAL, thanks!
3 years, 5 months ago (2017-06-26 09:27:14 UTC) #25
jkarlin
lgtm with nit https://codereview.chromium.org/2950533002/diff/80001/chrome/browser/net/predictor.cc File chrome/browser/net/predictor.cc (right): https://codereview.chromium.org/2950533002/diff/80001/chrome/browser/net/predictor.cc#newcode757 chrome/browser/net/predictor.cc:757: // May be empty if kInitialDnsPrefetchListEnabled ...
3 years, 5 months ago (2017-06-26 16:47:56 UTC) #26
Benoit L
Thanks! https://codereview.chromium.org/2950533002/diff/80001/chrome/browser/net/predictor.cc File chrome/browser/net/predictor.cc (right): https://codereview.chromium.org/2950533002/diff/80001/chrome/browser/net/predictor.cc#newcode757 chrome/browser/net/predictor.cc:757: // May be empty if kInitialDnsPrefetchListEnabled is false. ...
3 years, 5 months ago (2017-06-27 08:37:56 UTC) #27
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/2950533002/120001
3 years, 5 months ago (2017-06-27 08:38:09 UTC) #30
commit-bot: I haz the power
3 years, 5 months ago (2017-06-27 09:30:40 UTC) #33
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/8e8aa98f3b4b67412dc9d2a842d4...

Powered by Google App Engine
This is Rietveld 408576698