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

Issue 185543004: Merge all http-outgoing transfomers into _HttpOutgoing, including simpler(better) buffering. (Closed)

Created:
6 years, 9 months ago by Anders Johnsen
Modified:
6 years, 9 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Merge all http-outgoing transfomers into _HttpOutgoing, including simpler(better) buffering. This speeds up the system by: - Using a simpler buffering mechanism, where we fill up a 8kb buffer, pass it on, and allocating a new. - Avoiding up to 4 streams for each stream added to the http-outgoing. We now only create one extra stream. BUG= R=sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=33272

Patch Set 1 #

Total comments: 18

Patch Set 2 : #

Patch Set 3 : Cleanup. #

Patch Set 4 : Fix IOSink changes. #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 6

Patch Set 9 : Cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+432 lines, -384 lines) Patch
M runtime/bin/socket_patch.dart View 4 5 6 7 8 2 chunks +22 lines, -22 lines 0 comments Download
M sdk/lib/io/http_impl.dart View 1 2 3 4 5 6 7 8 15 chunks +316 lines, -342 lines 0 comments Download
M sdk/lib/io/io_sink.dart View 4 5 6 7 8 3 chunks +12 lines, -4 lines 0 comments Download
M tests/standalone/io/http_10_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M tests/standalone/io/http_client_connect_test.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M tests/standalone/io/http_close_test.dart View 6 chunks +17 lines, -11 lines 0 comments Download
M tests/standalone/io/http_content_length_test.dart View 2 chunks +4 lines, -3 lines 0 comments Download
A tests/standalone/io/http_outgoing_size_test.dart View 1 2 3 4 5 6 7 8 1 chunk +59 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Anders Johnsen
6 years, 9 months ago (2014-03-03 10:07:44 UTC) #1
Anders Johnsen
6 years, 9 months ago (2014-03-03 10:18:52 UTC) #2
Lasse Reichstein Nielsen
Just scanned for comments. https://codereview.chromium.org/185543004/diff/1/sdk/lib/io/http_impl.dart File sdk/lib/io/http_impl.dart (right): https://codereview.chromium.org/185543004/diff/1/sdk/lib/io/http_impl.dart#newcode426 sdk/lib/io/http_impl.dart:426: (_target as _HttpOutboundConsumer).outbound = this; ...
6 years, 9 months ago (2014-03-03 11:37:23 UTC) #3
Anders Johnsen
https://codereview.chromium.org/185543004/diff/1/sdk/lib/io/http_impl.dart File sdk/lib/io/http_impl.dart (right): https://codereview.chromium.org/185543004/diff/1/sdk/lib/io/http_impl.dart#newcode426 sdk/lib/io/http_impl.dart:426: (_target as _HttpOutboundConsumer).outbound = this; On 2014/03/03 11:37:23, Lasse ...
6 years, 9 months ago (2014-03-03 19:43:14 UTC) #4
Søren Gjesse
LGTM https://codereview.chromium.org/185543004/diff/110001/sdk/lib/io/http_impl.dart File sdk/lib/io/http_impl.dart (right): https://codereview.chromium.org/185543004/diff/110001/sdk/lib/io/http_impl.dart#newcode466 sdk/lib/io/http_impl.dart:466: } catch (error, s) { s is not ...
6 years, 9 months ago (2014-03-04 09:29:14 UTC) #5
Anders Johnsen
https://codereview.chromium.org/185543004/diff/110001/sdk/lib/io/http_impl.dart File sdk/lib/io/http_impl.dart (right): https://codereview.chromium.org/185543004/diff/110001/sdk/lib/io/http_impl.dart#newcode466 sdk/lib/io/http_impl.dart:466: } catch (error, s) { On 2014/03/04 09:29:15, Søren ...
6 years, 9 months ago (2014-03-04 13:54:16 UTC) #6
Anders Johnsen
6 years, 9 months ago (2014-03-04 13:58:56 UTC) #7
Message was sent while issue was closed.
Committed patchset #9 manually as r33272 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698