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

Issue 655263003: Script streaming: fix small script recognition heuristic. (Closed)

Created:
6 years, 2 months ago by marja
Modified:
6 years, 1 month ago
Reviewers:
haraken
CC:
blink-reviews, blink-reviews-bindings_chromium.org, arv+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Script streaming: fix small script recognition heuristic. It can happen that the first data chunk for a large script is small. To handle this, we don't give up with streaming immediately when we receive a small data chunk, but simply delay the decision to start the streaming. See crbug.com/425475 for discussion about when this can happen. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184201

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -25 lines) Patch
M Source/bindings/core/v8/ScriptStreamer.h View 2 chunks +4 lines, -3 lines 0 comments Download
M Source/bindings/core/v8/ScriptStreamer.cpp View 1 3 chunks +16 lines, -16 lines 2 comments Download
M Source/bindings/core/v8/ScriptStreamerTest.cpp View 2 chunks +54 lines, -1 line 0 comments Download
M Source/bindings/core/v8/ScriptStreamerThread.h View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
marja
haraken, ptal
6 years, 2 months ago (2014-10-22 12:14:41 UTC) #2
haraken
https://codereview.chromium.org/655263003/diff/20001/Source/bindings/core/v8/ScriptStreamer.cpp File Source/bindings/core/v8/ScriptStreamer.cpp (right): https://codereview.chromium.org/655263003/diff/20001/Source/bindings/core/v8/ScriptStreamer.cpp#newcode280 Source/bindings/core/v8/ScriptStreamer.cpp:280: if (resource->resourceBuffer()->size() < kSmallScriptThreshold) { What happens if the ...
6 years, 1 month ago (2014-10-22 14:20:39 UTC) #3
haraken
LGTM https://codereview.chromium.org/655263003/diff/20001/Source/bindings/core/v8/ScriptStreamer.cpp File Source/bindings/core/v8/ScriptStreamer.cpp (right): https://codereview.chromium.org/655263003/diff/20001/Source/bindings/core/v8/ScriptStreamer.cpp#newcode280 Source/bindings/core/v8/ScriptStreamer.cpp:280: if (resource->resourceBuffer()->size() < kSmallScriptThreshold) { On 2014/10/22 14:20:39, ...
6 years, 1 month ago (2014-10-22 14:25:28 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/655263003/20001
6 years, 1 month ago (2014-10-22 14:47:01 UTC) #6
commit-bot: I haz the power
6 years, 1 month ago (2014-10-22 17:59:54 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 184201

Powered by Google App Engine
This is Rietveld 408576698