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

Issue 1162293004: Use request start time for estimating network quality. (Closed)

Created:
5 years, 6 months ago by tbansal1
Modified:
5 years, 6 months ago
Reviewers:
bengr, mmenke
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

Use request start time for estimating network quality. Instead of using request creation time, use request start time from load timing info. The start time is slightly later than request creation time and is more accurate. BUG=472681 Committed: https://crrev.com/afc2c1cb34daef6366349037a878be7a554b9dc6 Cr-Commit-Position: refs/heads/master@{#334499}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use response_time instead of now() #

Total comments: 8

Patch Set 3 : Addressed comments #

Total comments: 4

Patch Set 4 : Addressed bengr comments #

Patch Set 5 : rebased #

Total comments: 4

Patch Set 6 : Return if load timing info is missing #

Patch Set 7 : Fix flaky NQE tests #

Patch Set 8 : More fixes to flaky tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -62 lines) Patch
M net/base/network_quality_estimator.h View 1 2 3 4 5 6 2 chunks +11 lines, -1 line 0 comments Download
M net/base/network_quality_estimator.cc View 1 2 3 4 5 6 7 4 chunks +43 lines, -11 lines 0 comments Download
M net/base/network_quality_estimator_unittest.cc View 1 2 3 4 5 6 7 chunks +7 lines, -38 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -12 lines 0 comments Download

Messages

Total messages: 34 (11 generated)
tbansal1
ptal.
5 years, 6 months ago (2015-06-01 22:32:36 UTC) #2
bengr
https://codereview.chromium.org/1162293004/diff/1/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1162293004/diff/1/net/base/network_quality_estimator.cc#newcode56 net/base/network_quality_estimator.cc:56: DCHECK_NE(load_timing_info.request_start, base::TimeTicks()); Do all requests have load timing info?
5 years, 6 months ago (2015-06-01 23:23:34 UTC) #3
tbansal1
https://codereview.chromium.org/1162293004/diff/1/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1162293004/diff/1/net/base/network_quality_estimator.cc#newcode56 net/base/network_quality_estimator.cc:56: DCHECK_NE(load_timing_info.request_start, base::TimeTicks()); On 2015/06/01 23:23:34, bengr wrote: > Do ...
5 years, 6 months ago (2015-06-01 23:53:36 UTC) #4
tbansal1
ptal, now using timings stored in URLRequest instead of Load Timings (makes it a bit ...
5 years, 6 months ago (2015-06-05 19:52:21 UTC) #5
carpediemishere_gmail.com
how do i unsubscribe from this mailing list please help!!!! i am no longer part ...
5 years, 6 months ago (2015-06-05 19:53:13 UTC) #6
bengr
On 2015/06/05 19:53:13, carpediemishere wrote: > how do i unsubscribe from this mailing list please ...
5 years, 6 months ago (2015-06-05 21:15:58 UTC) #7
bengr
This no longer conforms to design. Chatted offline and it will be rewritten. https://codereview.chromium.org/1162293004/diff/20001/net/base/network_quality_estimator.cc File ...
5 years, 6 months ago (2015-06-09 00:18:49 UTC) #9
tbansal1
ptal. This does not confirm to our final design which specifies that the bandwidth should ...
5 years, 6 months ago (2015-06-10 18:20:11 UTC) #10
bengr
https://codereview.chromium.org/1162293004/diff/40001/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1162293004/diff/40001/net/base/network_quality_estimator.cc#newcode61 net/base/network_quality_estimator.cc:61: // if it is available since it is recorded ...
5 years, 6 months ago (2015-06-11 00:22:58 UTC) #11
tbansal1
ptal https://codereview.chromium.org/1162293004/diff/40001/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1162293004/diff/40001/net/base/network_quality_estimator.cc#newcode61 net/base/network_quality_estimator.cc:61: // if it is available since it is ...
5 years, 6 months ago (2015-06-11 03:01:36 UTC) #12
tbansal1
ping.
5 years, 6 months ago (2015-06-12 19:34:43 UTC) #13
bengr
lgtm
5 years, 6 months ago (2015-06-13 00:22:29 UTC) #14
tbansal1
rebased. @mmenke: ptal.
5 years, 6 months ago (2015-06-15 16:48:08 UTC) #16
mmenke
https://codereview.chromium.org/1162293004/diff/80001/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1162293004/diff/80001/net/base/network_quality_estimator.cc#newcode73 net/base/network_quality_estimator.cc:73: base::TimeTicks request_start_time = !load_timing_info.send_start.is_null() Hrm...If load_timing_info.send_start or load_timing_info.receive_headers_end is ...
5 years, 6 months ago (2015-06-15 17:21:00 UTC) #17
tbansal1
ptal. https://codereview.chromium.org/1162293004/diff/80001/net/base/network_quality_estimator.cc File net/base/network_quality_estimator.cc (right): https://codereview.chromium.org/1162293004/diff/80001/net/base/network_quality_estimator.cc#newcode73 net/base/network_quality_estimator.cc:73: base::TimeTicks request_start_time = !load_timing_info.send_start.is_null() On 2015/06/15 17:21:00, mmenke ...
5 years, 6 months ago (2015-06-15 18:57:11 UTC) #18
mmenke
LGTM
5 years, 6 months ago (2015-06-15 18:59:06 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162293004/100001
5 years, 6 months ago (2015-06-15 19:01:51 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/20540)
5 years, 6 months ago (2015-06-15 19:38:59 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162293004/120001
5 years, 6 months ago (2015-06-15 20:31:00 UTC) #27
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/35221)
5 years, 6 months ago (2015-06-15 21:26:54 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162293004/140001
5 years, 6 months ago (2015-06-15 21:55:20 UTC) #32
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 6 months ago (2015-06-15 23:59:15 UTC) #33
commit-bot: I haz the power
5 years, 6 months ago (2015-06-16 00:00:27 UTC) #34
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/afc2c1cb34daef6366349037a878be7a554b9dc6
Cr-Commit-Position: refs/heads/master@{#334499}

Powered by Google App Engine
This is Rietveld 408576698