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

Issue 2644053002: [Mojo-Loading] Split too large data chunk in renderer (Closed)

Created:
3 years, 11 months ago by yhirano
Modified:
3 years, 11 months ago
Reviewers:
kinuko, jam, tzik
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mojo-Loading] Split too large data chunk in renderer With this CL, URLResponseBodyConsumer splits a too large data chunk to smaller chunks. Also, it stops sending chunks and defers the remaining jobs to subsequent tasks if it has already sent many bytes to the client in the task. The main motivation is performance (thread janks), but splitting a large chunk is needed also because some existing clients (e.g., NaCl compiler) cannot handle large chunks. BUG=603396 Review-Url: https://codereview.chromium.org/2644053002 Cr-Commit-Position: refs/heads/master@{#445002} Committed: https://chromium.googlesource.com/chromium/src/+/b51a6f0bc428a9bcc23c681d32588fcbbe22924c

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : fix #

Total comments: 10

Patch Set 4 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -0 lines) Patch
M content/child/url_response_body_consumer.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M content/child/url_response_body_consumer.cc View 1 2 3 chunks +17 lines, -0 lines 0 comments Download
M content/child/url_response_body_consumer_unittest.cc View 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (20 generated)
yhirano
3 years, 11 months ago (2017-01-19 08:10:10 UTC) #6
tzik
lgtm
3 years, 11 months ago (2017-01-19 11:06:42 UTC) #11
yhirano
+jam@ for OWNER review.
3 years, 11 months ago (2017-01-19 15:38:16 UTC) #15
kinuko
https://codereview.chromium.org/2644053002/diff/40001/content/child/url_response_body_consumer.cc File content/child/url_response_body_consumer.cc (right): https://codereview.chromium.org/2644053002/diff/40001/content/child/url_response_body_consumer.cc#newcode138 content/child/url_response_body_consumer.cc:138: AsWeakPtr(), MOJO_RESULT_OK)); Do you have some stats / numbers ...
3 years, 11 months ago (2017-01-20 02:56:28 UTC) #17
yhirano
https://codereview.chromium.org/2644053002/diff/40001/content/child/url_response_body_consumer.cc File content/child/url_response_body_consumer.cc (right): https://codereview.chromium.org/2644053002/diff/40001/content/child/url_response_body_consumer.cc#newcode138 content/child/url_response_body_consumer.cc:138: AsWeakPtr(), MOJO_RESULT_OK)); On 2017/01/20 02:56:28, kinuko wrote: > Do ...
3 years, 11 months ago (2017-01-20 03:30:50 UTC) #18
kinuko
https://codereview.chromium.org/2644053002/diff/40001/content/child/url_response_body_consumer.cc File content/child/url_response_body_consumer.cc (right): https://codereview.chromium.org/2644053002/diff/40001/content/child/url_response_body_consumer.cc#newcode138 content/child/url_response_body_consumer.cc:138: AsWeakPtr(), MOJO_RESULT_OK)); On 2017/01/20 03:30:50, yhirano wrote: > On ...
3 years, 11 months ago (2017-01-20 04:57:35 UTC) #19
kinuko
https://codereview.chromium.org/2644053002/diff/40001/content/child/url_response_body_consumer.cc File content/child/url_response_body_consumer.cc (right): https://codereview.chromium.org/2644053002/diff/40001/content/child/url_response_body_consumer.cc#newcode138 content/child/url_response_body_consumer.cc:138: AsWeakPtr(), MOJO_RESULT_OK)); Also-- do you anticipate we'll have more ...
3 years, 11 months ago (2017-01-20 04:58:53 UTC) #20
yhirano
https://codereview.chromium.org/2644053002/diff/40001/content/child/url_response_body_consumer.cc File content/child/url_response_body_consumer.cc (right): https://codereview.chromium.org/2644053002/diff/40001/content/child/url_response_body_consumer.cc#newcode138 content/child/url_response_body_consumer.cc:138: AsWeakPtr(), MOJO_RESULT_OK)); On 2017/01/20 04:57:35, kinuko wrote: > On ...
3 years, 11 months ago (2017-01-20 05:06:10 UTC) #21
kinuko
https://codereview.chromium.org/2644053002/diff/40001/content/child/url_response_body_consumer.cc File content/child/url_response_body_consumer.cc (right): https://codereview.chromium.org/2644053002/diff/40001/content/child/url_response_body_consumer.cc#newcode138 content/child/url_response_body_consumer.cc:138: AsWeakPtr(), MOJO_RESULT_OK)); On 2017/01/20 05:06:10, yhirano wrote: > On ...
3 years, 11 months ago (2017-01-20 05:12:29 UTC) #22
yhirano
https://codereview.chromium.org/2644053002/diff/40001/content/child/url_response_body_consumer.cc File content/child/url_response_body_consumer.cc (right): https://codereview.chromium.org/2644053002/diff/40001/content/child/url_response_body_consumer.cc#newcode138 content/child/url_response_body_consumer.cc:138: AsWeakPtr(), MOJO_RESULT_OK)); On 2017/01/20 05:12:29, kinuko wrote: > On ...
3 years, 11 months ago (2017-01-20 06:04:55 UTC) #25
kinuko
Thanks!! lgtm On 2017/01/20 06:04:55, yhirano wrote: > https://codereview.chromium.org/2644053002/diff/40001/content/child/url_response_body_consumer.cc > File content/child/url_response_body_consumer.cc (right): > > ...
3 years, 11 months ago (2017-01-20 06:07:42 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2644053002/60001
3 years, 11 months ago (2017-01-20 06:13:19 UTC) #30
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 06:42:07 UTC) #33
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/b51a6f0bc428a9bcc23c681d3258...

Powered by Google App Engine
This is Rietveld 408576698