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

Issue 2221103003: Compute effective connection type dynamically (Closed)

Created:
4 years, 4 months ago by tbansal1
Modified:
4 years, 4 months ago
Reviewers:
bengr, RyanSturm
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Compute effective connection type dynamically This CL changes the behavior of how Network Quality Estimator (NQE) computes Effective Connection Type (ECT). Currently, ECT is computed regularly at 15 second intervals. This CL changes that behavior to additionally recompute the ECT under two more conditions: (1) Recompute the effective connection type (ECT) if the number of RTT or bandwidth samples have more than doubled since the last computation. (2) Recompute the effective connection type (ECT) if the previously computed ECT value was Unknown. BUG=635678 Committed: https://crrev.com/dbd91c073a0b04aebd67b890a7c3cea13ac1da4d Cr-Commit-Position: refs/heads/master@{#411803}

Patch Set 1 : PS #

Total comments: 2

Patch Set 2 : Addressed comments #

Total comments: 13

Patch Set 3 : bengr comments #

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -14 lines) Patch
M net/nqe/network_quality_estimator.h View 1 2 3 4 chunks +16 lines, -7 lines 0 comments Download
M net/nqe/network_quality_estimator.cc View 1 2 3 4 chunks +20 lines, -7 lines 0 comments Download
M net/nqe/network_quality_estimator_unittest.cc View 1 2 3 1 chunk +122 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
tbansal1
ryansturm: ptal. Thanks.
4 years, 4 months ago (2016-08-08 21:45:16 UTC) #6
RyanSturm
lgtm % variable names nit https://codereview.chromium.org/2221103003/diff/20001/net/nqe/network_quality_estimator.h File net/nqe/network_quality_estimator.h (right): https://codereview.chromium.org/2221103003/diff/20001/net/nqe/network_quality_estimator.h#newcode601 net/nqe/network_quality_estimator.h:601: size_t number_of_bandwidth_samples_at_last_ect_computation_; nit: The ...
4 years, 4 months ago (2016-08-08 23:57:01 UTC) #10
tbansal1
https://codereview.chromium.org/2221103003/diff/20001/net/nqe/network_quality_estimator.h File net/nqe/network_quality_estimator.h (right): https://codereview.chromium.org/2221103003/diff/20001/net/nqe/network_quality_estimator.h#newcode601 net/nqe/network_quality_estimator.h:601: size_t number_of_bandwidth_samples_at_last_ect_computation_; On 2016/08/08 23:57:01, RyanSturm wrote: > nit: ...
4 years, 4 months ago (2016-08-09 18:00:56 UTC) #11
tbansal1
bengr: ptal. Thanks.
4 years, 4 months ago (2016-08-09 18:01:11 UTC) #13
bengr
https://codereview.chromium.org/2221103003/diff/40001/net/nqe/network_quality_estimator.h File net/nqe/network_quality_estimator.h (right): https://codereview.chromium.org/2221103003/diff/40001/net/nqe/network_quality_estimator.h#newcode591 net/nqe/network_quality_estimator.h:591: // Minimum duration between two consecutive computations of effective ...
4 years, 4 months ago (2016-08-09 21:29:06 UTC) #14
tbansal1
bengr: ptal. Thanks. https://codereview.chromium.org/2221103003/diff/40001/net/nqe/network_quality_estimator.h File net/nqe/network_quality_estimator.h (right): https://codereview.chromium.org/2221103003/diff/40001/net/nqe/network_quality_estimator.h#newcode591 net/nqe/network_quality_estimator.h:591: // Minimum duration between two consecutive ...
4 years, 4 months ago (2016-08-10 00:13:12 UTC) #15
bengr
lgtm https://codereview.chromium.org/2221103003/diff/40001/net/nqe/network_quality_estimator_unittest.cc File net/nqe/network_quality_estimator_unittest.cc (right): https://codereview.chromium.org/2221103003/diff/40001/net/nqe/network_quality_estimator_unittest.cc#newcode1634 net/nqe/network_quality_estimator_unittest.cc:1634: // Increase the number of RTT observations to ...
4 years, 4 months ago (2016-08-12 18:52:37 UTC) #16
tbansal1
4 years, 4 months ago (2016-08-12 20:43:49 UTC) #17
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/2221103003/80001
4 years, 4 months ago (2016-08-12 20:44:10 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 4 months ago (2016-08-12 22:36:45 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 22:38:42 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/dbd91c073a0b04aebd67b890a7c3cea13ac1da4d
Cr-Commit-Position: refs/heads/master@{#411803}

Powered by Google App Engine
This is Rietveld 408576698