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

Issue 1662433002: Per-packet options now passed through to QuicPacketWriter, instead of (Closed)

Created:
4 years, 10 months ago by ramant (doing other things)
Modified:
4 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@113054959
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Per-packet options now passed through to QuicPacketWriter, instead of through PerConnectionPacketWriter side channels. No functional change. Guarded by FLAGS_quic_connection_use_shared_writer (this flag is not used in chromium code base). This is being done mostly to avoid a few cache misses, though in practice the performance improvement is in the noise. If nothing else, all of the costs associated with ???PerConnectionPacketWriter are now gone from the profile. Merge internal change: 113068996 R=jdorfman@google.com, rch@chromium.org

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix comments for Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -74 lines) Patch
M net/quic/quic_chromium_packet_writer.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/quic/quic_chromium_packet_writer.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M net/quic/quic_connection.h View 2 chunks +10 lines, -0 lines 0 comments Download
M net/quic/quic_connection.cc View 3 chunks +7 lines, -6 lines 0 comments Download
M net/quic/quic_connection_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/quic/quic_packet_writer.h View 2 chunks +23 lines, -5 lines 0 comments Download
M net/quic/quic_session_test.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/quic/test_tools/quic_test_utils.h View 1 chunk +3 lines, -2 lines 0 comments Download
M net/tools/quic/end_to_end_test.cc View 7 chunks +15 lines, -13 lines 0 comments Download
M net/tools/quic/quic_default_packet_writer.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/tools/quic/quic_default_packet_writer.cc View 1 chunk +4 lines, -1 line 0 comments Download
M net/tools/quic/quic_dispatcher_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/tools/quic/quic_packet_writer_wrapper.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/tools/quic/quic_packet_writer_wrapper.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M net/tools/quic/quic_per_connection_packet_writer.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/tools/quic/quic_per_connection_packet_writer.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M net/tools/quic/quic_simple_per_connection_packet_writer.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/tools/quic/quic_simple_per_connection_packet_writer.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M net/tools/quic/quic_simple_server_packet_writer.h View 2 chunks +3 lines, -1 line 0 comments Download
M net/tools/quic/quic_simple_server_packet_writer.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M net/tools/quic/quic_time_wait_list_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_time_wait_list_manager_test.cc View 9 chunks +17 lines, -17 lines 0 comments Download
M net/tools/quic/test_tools/limited_mtu_test_writer.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/tools/quic/test_tools/limited_mtu_test_writer.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M net/tools/quic/test_tools/packet_dropping_test_writer.h View 2 chunks +11 lines, -1 line 0 comments Download
M net/tools/quic/test_tools/packet_dropping_test_writer.cc View 5 chunks +25 lines, -6 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 9 (2 generated)
ramant (doing other things)
4 years, 10 months ago (2016-02-02 06:31:04 UTC) #1
Ryan Hamilton
lgtm https://codereview.chromium.org/1662433002/diff/1/net/quic/quic_chromium_packet_writer.cc File net/quic/quic_chromium_packet_writer.cc (right): https://codereview.chromium.org/1662433002/diff/1/net/quic/quic_chromium_packet_writer.cc#newcode28 net/quic/quic_chromium_packet_writer.cc:28: PerPacketOptions* options) { nit: /*options*/ since this argument ...
4 years, 10 months ago (2016-02-02 06:34:24 UTC) #2
ramant (doing other things)
https://codereview.chromium.org/1662433002/diff/1/net/quic/quic_chromium_packet_writer.cc File net/quic/quic_chromium_packet_writer.cc (right): https://codereview.chromium.org/1662433002/diff/1/net/quic/quic_chromium_packet_writer.cc#newcode28 net/quic/quic_chromium_packet_writer.cc:28: PerPacketOptions* options) { On 2016/02/02 06:34:24, Ryan Hamilton wrote: ...
4 years, 10 months ago (2016-02-02 06:37:33 UTC) #3
ramant (doing other things)
On 2016/02/02 06:34:24, Ryan Hamilton wrote: > lgtm > > https://codereview.chromium.org/1662433002/diff/1/net/quic/quic_chromium_packet_writer.cc > File net/quic/quic_chromium_packet_writer.cc (right): ...
4 years, 10 months ago (2016-02-02 06:38:07 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1662433002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1662433002/20001
4 years, 10 months ago (2016-02-02 06:44:07 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-02 08:12:34 UTC) #8
Ryan Hamilton
4 years, 10 months ago (2016-02-02 15:00:00 UTC) #9
lgtm

Powered by Google App Engine
This is Rietveld 408576698