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

Issue 1961573002: Avoids the "re-encode HPACK as SPDY3" step. (Closed)

Created:
4 years, 7 months ago by dahollings
Modified:
4 years, 7 months ago
Reviewers:
Buck, Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org, Buck, Biren Roy
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoids the "re-encode HPACK as SPDY3" step. This change causes header data to be propagated from SpdyFramer to the visitor as logical key/value pairs. This avoids the "re-encode HPACK as SPDY3" step, and therefore should improve performance. Now with QUIC support! This CL lands server change 120879191 by birenroy. BUG=488484 Committed: https://crrev.com/600f0c57e92bfbd0e27f889d00d4f3089c464077 Cr-Commit-Position: refs/heads/master@{#394445} Committed: https://crrev.com/af379649901296f53bb985e4f99996e8c6beb4fa Cr-Commit-Position: refs/heads/master@{#395958}

Patch Set 1 : Avoids the "re-encode HPACK as SPDY3" step. #

Patch Set 2 : Avoids the "re-encode HPACK as SPDY3" step. #

Patch Set 3 : Avoids the "re-encode HPACK as SPDY3" step. #

Patch Set 4 : Avoids the "re-encode HPACK as SPDY3" step. #

Patch Set 5 : Avoids the "re-encode HPACK as SPDY3" step. #

Patch Set 6 : Avoids the "re-encode HPACK as SPDY3" step. #

Total comments: 5

Patch Set 7 : Avoids the "re-encode HPACK as SPDY3" step. #

Patch Set 8 : Avoids the "re-encode HPACK as SPDY3" step. #

Patch Set 9 : Avoids the "re-encode HPACK as SPDY3" step. #

Patch Set 10 : Avoids the "re-encode HPACK as SPDY3" step. #

Patch Set 11 : Avoids the "re-encode HPACK as SPDY3" step. #

Total comments: 2

Patch Set 12 : Reland #

Patch Set 13 : Update new test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+533 lines, -228 lines) Patch
M net/net.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/quic_chromium_client_stream.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
M net/quic/quic_chromium_client_stream.cc View 1 2 3 4 5 6 7 8 2 chunks +31 lines, -0 lines 0 comments Download
M net/quic/quic_headers_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M net/quic/quic_headers_stream_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 12 chunks +48 lines, -34 lines 0 comments Download
M net/quic/quic_spdy_stream.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M net/quic/quic_spdy_stream.cc View 1 2 3 3 chunks +12 lines, -2 lines 0 comments Download
M net/quic/quic_spdy_stream_test.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/spdy_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -6 lines 0 comments Download
M net/quic/spdy_utils_test.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -9 lines 0 comments Download
M net/quic/test_tools/mock_quic_spdy_client_stream.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -1 line 0 comments Download
M net/spdy/buffered_spdy_framer.h View 1 3 chunks +3 lines, -14 lines 0 comments Download
M net/spdy/buffered_spdy_framer.cc View 1 2 2 chunks +41 lines, -2 lines 0 comments Download
M net/spdy/buffered_spdy_framer_unittest.cc View 1 chunk +0 lines, -10 lines 0 comments Download
A net/spdy/header_coalescer.h View 1 1 chunk +34 lines, -0 lines 0 comments Download
A net/spdy/header_coalescer.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +36 lines, -0 lines 0 comments Download
M net/spdy/mock_spdy_framer_visitor.h View 2 chunks +26 lines, -0 lines 0 comments Download
M net/spdy/mock_spdy_framer_visitor.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/spdy/spdy_framer.h View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +9 lines, -3 lines 0 comments Download
M net/spdy/spdy_framer.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +40 lines, -14 lines 0 comments Download
M net/spdy/spdy_framer_test.cc View 1 2 3 4 5 25 chunks +212 lines, -81 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/spdy_session.h View 1 3 chunks +2 lines, -4 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +4 lines, -10 lines 0 comments Download
M net/spdy/spdy_test_util_common.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M net/tools/flip_server/spdy_interface.h View 1 chunk +0 lines, -14 lines 0 comments Download
M net/tools/flip_server/spdy_interface.cc View 1 chunk +0 lines, -12 lines 0 comments Download
M net/tools/quic/quic_spdy_client_stream.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -1 line 0 comments Download
M net/tools/quic/quic_spdy_client_stream.cc View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 29 (11 generated)
dahollings
4 years, 7 months ago (2016-05-13 20:53:15 UTC) #5
Ryan Hamilton
https://codereview.chromium.org/1961573002/diff/160001/net/http/bidirectional_stream_unittest.cc File net/http/bidirectional_stream_unittest.cc (right): https://codereview.chromium.org/1961573002/diff/160001/net/http/bidirectional_stream_unittest.cc#newcode1198 net/http/bidirectional_stream_unittest.cc:1198: EXPECT_EQ(0, delegate->GetTotalReceivedBytes()); Can you explain why this expectation is ...
4 years, 7 months ago (2016-05-13 22:03:15 UTC) #6
dahollings
https://codereview.chromium.org/1961573002/diff/160001/net/http/bidirectional_stream_unittest.cc File net/http/bidirectional_stream_unittest.cc (right): https://codereview.chromium.org/1961573002/diff/160001/net/http/bidirectional_stream_unittest.cc#newcode1198 net/http/bidirectional_stream_unittest.cc:1198: EXPECT_EQ(0, delegate->GetTotalReceivedBytes()); On 2016/05/13 22:03:15, Ryan Hamilton wrote: > ...
4 years, 7 months ago (2016-05-16 22:00:17 UTC) #7
Ryan Hamilton
https://codereview.chromium.org/1961573002/diff/160001/net/spdy/header_coalescer.h File net/spdy/header_coalescer.h (right): https://codereview.chromium.org/1961573002/diff/160001/net/spdy/header_coalescer.h#newcode14 net/spdy/header_coalescer.h:14: class NET_EXPORT_PRIVATE HeaderCoalescer : public SpdyHeadersHandlerInterface { On 2016/05/16 ...
4 years, 7 months ago (2016-05-16 22:08:43 UTC) #8
dahollings
On 2016/05/16 22:08:43, Ryan Hamilton wrote: > https://codereview.chromium.org/1961573002/diff/160001/net/spdy/header_coalescer.h > File net/spdy/header_coalescer.h (right): > > https://codereview.chromium.org/1961573002/diff/160001/net/spdy/header_coalescer.h#newcode14 ...
4 years, 7 months ago (2016-05-17 20:57:15 UTC) #9
Ryan Hamilton
Woot! Thanks for doing this. LGTM
4 years, 7 months ago (2016-05-17 22:33:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1961573002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1961573002/260001
4 years, 7 months ago (2016-05-18 16:51:56 UTC) #12
commit-bot: I haz the power
Committed patchset #11 (id:260001)
4 years, 7 months ago (2016-05-18 16:56:32 UTC) #13
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/600f0c57e92bfbd0e27f889d00d4f3089c464077 Cr-Commit-Position: refs/heads/master@{#394445}
4 years, 7 months ago (2016-05-18 16:59:18 UTC) #15
Ryan Hamilton
A revert of this CL (patchset #11 id:260001) has been created in https://codereview.chromium.org/1997863002/ by rch@chromium.org. ...
4 years, 7 months ago (2016-05-19 21:11:45 UTC) #16
Buck
Hi. Just want to note that it's caused me some problems in a change that ...
4 years, 7 months ago (2016-05-19 22:02:16 UTC) #18
dahollings
https://codereview.chromium.org/1961573002/diff/260001/net/quic/spdy_utils.cc File net/quic/spdy_utils.cc (right): https://codereview.chromium.org/1961573002/diff/260001/net/quic/spdy_utils.cc#newcode134 net/quic/spdy_utils.cc:134: "%s%c%s", iter->second.as_string().c_str(), '\0', p.second.c_str()); birenroy@ pointed out that this ...
4 years, 7 months ago (2016-05-23 21:15:18 UTC) #19
Ryan Hamilton
https://codereview.chromium.org/1961573002/diff/260001/net/quic/spdy_utils.cc File net/quic/spdy_utils.cc (right): https://codereview.chromium.org/1961573002/diff/260001/net/quic/spdy_utils.cc#newcode134 net/quic/spdy_utils.cc:134: "%s%c%s", iter->second.as_string().c_str(), '\0', p.second.c_str()); On 2016/05/23 21:15:17, dahollings wrote: ...
4 years, 7 months ago (2016-05-24 16:08:29 UTC) #20
dahollings
The bug which caused the revert should now be fixed with https://codereview.chromium.org/2009623002. I was able ...
4 years, 7 months ago (2016-05-25 17:31:26 UTC) #22
Ryan Hamilton
lgtm
4 years, 7 months ago (2016-05-25 18:48:33 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1961573002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1961573002/300001
4 years, 7 months ago (2016-05-25 18:48:56 UTC) #25
commit-bot: I haz the power
Committed patchset #13 (id:300001)
4 years, 7 months ago (2016-05-25 19:21:48 UTC) #27
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 19:23:01 UTC) #29
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/af379649901296f53bb985e4f99996e8c6beb4fa
Cr-Commit-Position: refs/heads/master@{#395958}

Powered by Google App Engine
This is Rietveld 408576698