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

Issue 11428150: LoadTiming implementation in net, part 1. (Closed)

Created:
8 years ago by mmenke
Modified:
7 years, 11 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, gavinp+disk_chromium.org
Visibility:
Public.

Description

LoadTiming implementation in net, part 1. Calculate connection timing information in ConnectJobs, add store it in ClientSocketHandles. BUG=77446 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175412

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : Simplify/Fix reuse case, giving up on some socket_reused guarantees. #

Patch Set 4 : Surrender to the inevitable...for now #

Patch Set 5 : Update comments #

Total comments: 4

Patch Set 6 : Try upload again #

Total comments: 40

Patch Set 7 : Response to comments #

Patch Set 8 : sync, update comments, remove TransportConnectJob::connect_start_ #

Patch Set 9 : Always use connect_timing_ in ConnectJobs for consistency #

Patch Set 10 : tiny typo fix #

Total comments: 5

Patch Set 11 : Include ConnectTiming in LoadTimingInfo #

Patch Set 12 : Fix a header or two #

Unified diffs Side-by-side diffs Delta from patch set Stats (+606 lines, -56 lines) Patch
A net/base/load_timing_info.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +109 lines, -0 lines 0 comments Download
A net/base/load_timing_info.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +22 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M net/socket/client_socket_handle.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +18 lines, -0 lines 0 comments Download
M net/socket/client_socket_handle.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +19 lines, -0 lines 0 comments Download
M net/socket/client_socket_pool_base.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +9 lines, -0 lines 0 comments Download
M net/socket/client_socket_pool_base.cc View 1 2 3 4 5 6 7 8 9 10 9 chunks +19 lines, -9 lines 0 comments Download
M net/socket/client_socket_pool_base_unittest.cc View 1 2 3 4 5 6 7 8 9 10 17 chunks +142 lines, -7 lines 0 comments Download
M net/socket/socket_test_util.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +11 lines, -0 lines 0 comments Download
M net/socket/socks_client_socket_pool_unittest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +30 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_pool.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -3 lines 0 comments Download
M net/socket/ssl_client_socket_pool.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +21 lines, -4 lines 0 comments Download
M net/socket/ssl_client_socket_pool_unittest.cc View 1 2 3 4 5 6 7 8 9 10 12 chunks +75 lines, -0 lines 0 comments Download
M net/socket/transport_client_socket_pool.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -6 lines 0 comments Download
M net/socket/transport_client_socket_pool.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +14 lines, -9 lines 0 comments Download
M net/socket/transport_client_socket_pool_unittest.cc View 1 2 3 4 5 6 7 8 9 10 12 chunks +115 lines, -18 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
mmenke
I'm thinking of landing this in 4 parts: 1) Log times it takes to connect ...
8 years ago (2012-12-14 01:15:18 UTC) #1
eroman
https://codereview.chromium.org/11428150/diff/56034/net/socket/client_socket_handle.cc File net/socket/client_socket_handle.cc (right): https://codereview.chromium.org/11428150/diff/56034/net/socket/client_socket_handle.cc#newcode66 net/socket/client_socket_handle.cc:66: connect_timing_ = ConnectTiming(); On 2012/12/14 01:15:18, Matt Menke wrote: ...
8 years ago (2012-12-14 04:08:34 UTC) #2
mmenke
Thanks for the feedback! https://codereview.chromium.org/11428150/diff/56034/net/socket/client_socket_handle.cc File net/socket/client_socket_handle.cc (right): https://codereview.chromium.org/11428150/diff/56034/net/socket/client_socket_handle.cc#newcode66 net/socket/client_socket_handle.cc:66: connect_timing_ = ConnectTiming(); On 2012/12/14 ...
8 years ago (2012-12-14 13:36:12 UTC) #3
mmenke
eroman: Ping! There's no rush. Know you're sheriff today, but want to get this in ...
7 years, 11 months ago (2013-01-02 16:16:43 UTC) #4
eroman
thanks for reminder! totally forgot about that. Will publish new comments later today, apologies for ...
7 years, 11 months ago (2013-01-02 21:26:46 UTC) #5
mmenke
Noticed you commented on year in another CL. https://codereview.chromium.org/11428150/diff/65009/net/base/load_timing_info.h File net/base/load_timing_info.h (right): https://codereview.chromium.org/11428150/diff/65009/net/base/load_timing_info.h#newcode1 net/base/load_timing_info.h:1: // ...
7 years, 11 months ago (2013-01-04 16:33:42 UTC) #6
mmenke
Err...left them as 2012. On 2013/01/04 16:33:42, Matt Menke wrote: > Noticed you commented on ...
7 years, 11 months ago (2013-01-04 16:34:00 UTC) #7
eroman
lgtm https://codereview.chromium.org/11428150/diff/65009/net/base/load_timing_info.h File net/base/load_timing_info.h (right): https://codereview.chromium.org/11428150/diff/65009/net/base/load_timing_info.h#newcode1 net/base/load_timing_info.h:1: // Copyright (c) 2012 The Chromium Authors. All ...
7 years, 11 months ago (2013-01-05 00:30:15 UTC) #8
mmenke
https://codereview.chromium.org/11428150/diff/65009/net/socket/connect_timing.h File net/socket/connect_timing.h (right): https://codereview.chromium.org/11428150/diff/65009/net/socket/connect_timing.h#newcode15 net/socket/connect_timing.h:15: // These are all set by ConnectJobs. See base/load_timing.h ...
7 years, 11 months ago (2013-01-05 03:53:13 UTC) #9
commit-bot: I haz the power
7 years, 11 months ago (2013-01-07 20:49:41 UTC) #10

Powered by Google App Engine
This is Rietveld 408576698