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

Issue 2936823002: NQE: Exclude network observations from private networks (Closed)

Created:
3 years, 6 months ago by tbansal1
Modified:
3 years, 6 months ago
Reviewers:
bengr, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org, tbansal+watch-nqe_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

NQE: Exclude network observations from private networks Skip RTTs from private networks when computing the network quality in Network Quality Estimator (NQE). Similarly, if a request to a private network is in-flight, throughput observations are not taken. BUG=731797 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester Review-Url: https://codereview.chromium.org/2936823002 Cr-Commit-Position: refs/heads/master@{#480357} Committed: https://chromium.googlesource.com/chromium/src/+/82edab49485f9be425fb78f3ec14115358ffaf52

Patch Set 1 : ps #

Total comments: 13

Patch Set 2 : bengr, mmenke comments #

Total comments: 14

Patch Set 3 : rebased, mmenke comments #

Total comments: 2

Patch Set 4 : bengr comments, rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+350 lines, -20 lines) Patch
M net/BUILD.gn View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M net/nqe/network_quality_estimator.h View 3 chunks +4 lines, -0 lines 0 comments Download
M net/nqe/network_quality_estimator.cc View 1 2 6 chunks +13 lines, -4 lines 0 comments Download
A net/nqe/network_quality_estimator_util.h View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
A net/nqe/network_quality_estimator_util.cc View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
A net/nqe/network_quality_estimator_util_unittest.cc View 1 2 1 chunk +186 lines, -0 lines 0 comments Download
M net/nqe/throughput_analyzer.h View 5 chunks +9 lines, -5 lines 0 comments Download
M net/nqe/throughput_analyzer.cc View 1 2 5 chunks +15 lines, -4 lines 0 comments Download
M net/nqe/throughput_analyzer_unittest.cc View 1 2 3 10 chunks +34 lines, -7 lines 0 comments Download

Messages

Total messages: 69 (55 generated)
tbansal1
bengr: ptal. Thanks.
3 years, 6 months ago (2017-06-13 16:04:35 UTC) #15
bengr
https://codereview.chromium.org/2936823002/diff/60001/net/nqe/network_quality_estimator_util.cc File net/nqe/network_quality_estimator_util.cc (right): https://codereview.chromium.org/2936823002/diff/60001/net/nqe/network_quality_estimator_util.cc#newcode21 net/nqe/network_quality_estimator_util.cc:21: bool IsPrivateHost(HostResolver* host_resolver, Maybe this should be in url_util? ...
3 years, 6 months ago (2017-06-13 20:35:36 UTC) #16
tbansal1
mmenke: ptal at the comment in net/nqe/network_quality_estimator_util.cc. I am interested in knowing if we are ...
3 years, 6 months ago (2017-06-13 22:36:09 UTC) #18
tbansal1
https://codereview.chromium.org/2936823002/diff/60001/net/nqe/network_quality_estimator_util.cc File net/nqe/network_quality_estimator_util.cc (right): https://codereview.chromium.org/2936823002/diff/60001/net/nqe/network_quality_estimator_util.cc#newcode21 net/nqe/network_quality_estimator_util.cc:21: bool IsPrivateHost(HostResolver* host_resolver, On 2017/06/13 22:36:09, tbansal1 wrote: > ...
3 years, 6 months ago (2017-06-14 17:27:04 UTC) #19
mmenke
I don't think we want this as a standard method - both the cache behavior ...
3 years, 6 months ago (2017-06-14 18:23:31 UTC) #22
bengr
Tarun, let me know when you'd like me to take another look.
3 years, 6 months ago (2017-06-15 20:48:43 UTC) #23
tbansal1
bengr/mmenke ptal. Thanks. https://codereview.chromium.org/2936823002/diff/60001/net/nqe/network_quality_estimator_util.cc File net/nqe/network_quality_estimator_util.cc (right): https://codereview.chromium.org/2936823002/diff/60001/net/nqe/network_quality_estimator_util.cc#newcode21 net/nqe/network_quality_estimator_util.cc:21: bool IsPrivateHost(HostResolver* host_resolver, On 2017/06/14 17:27:04, ...
3 years, 6 months ago (2017-06-16 00:57:42 UTC) #25
mmenke
https://codereview.chromium.org/2936823002/diff/100001/net/nqe/network_quality_estimator_util.cc File net/nqe/network_quality_estimator_util.cc (right): https://codereview.chromium.org/2936823002/diff/100001/net/nqe/network_quality_estimator_util.cc#newcode24 net/nqe/network_quality_estimator_util.cc:24: if (IsLocalhost(host_port_pair.host())) Again, not needed if host_resolver is non-null, ...
3 years, 6 months ago (2017-06-16 15:03:58 UTC) #38
tbansal1
mmenke: ptal. Thanks. https://codereview.chromium.org/2936823002/diff/100001/net/nqe/network_quality_estimator_util.cc File net/nqe/network_quality_estimator_util.cc (right): https://codereview.chromium.org/2936823002/diff/100001/net/nqe/network_quality_estimator_util.cc#newcode24 net/nqe/network_quality_estimator_util.cc:24: if (IsLocalhost(host_port_pair.host())) On 2017/06/16 15:03:58, mmenke ...
3 years, 6 months ago (2017-06-17 01:54:01 UTC) #56
mmenke
LGTM (Just looked at the util file)
3 years, 6 months ago (2017-06-17 13:18:34 UTC) #57
bengr
lgtm with nit https://codereview.chromium.org/2936823002/diff/180001/net/nqe/throughput_analyzer_unittest.cc File net/nqe/throughput_analyzer_unittest.cc (right): https://codereview.chromium.org/2936823002/diff/180001/net/nqe/throughput_analyzer_unittest.cc#newcode71 net/nqe/throughput_analyzer_unittest.cc:71: // Use a mock resolver to ...
3 years, 6 months ago (2017-06-18 20:42:59 UTC) #58
tbansal1
https://codereview.chromium.org/2936823002/diff/180001/net/nqe/throughput_analyzer_unittest.cc File net/nqe/throughput_analyzer_unittest.cc (right): https://codereview.chromium.org/2936823002/diff/180001/net/nqe/throughput_analyzer_unittest.cc#newcode71 net/nqe/throughput_analyzer_unittest.cc:71: // Use a mock resolver to force example.com to ...
3 years, 6 months ago (2017-06-19 05:50:41 UTC) #63
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/2936823002/200001
3 years, 6 months ago (2017-06-19 05:51:03 UTC) #66
commit-bot: I haz the power
3 years, 6 months ago (2017-06-19 05:55:43 UTC) #69
Message was sent while issue was closed.
Committed patchset #4 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/82edab49485f9be425fb78f3ec14...

Powered by Google App Engine
This is Rietveld 408576698