New issue
Advanced search Search tips

Issue 891637 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocked on:
issue 894819

Blocking:
issue 866868
issue 885053



Sign in to add a comment

ScriptStreamers should receive data directly from the network, not via the main thread

Project Member Reported by leszeks@chromium.org, Oct 3

Issue description

Script streamers can easily become stalled waiting for data which has come in from the network, but hasn't had a chance to bounce off the main thread yet (e.g. because other JavaScript is executing or HTML is being parsed). The main thread bounce is currently necessary because the data goes via the ScriptResource.

Instead, script streamers should receive their data directly from the network (IO?) thread, concurrently with that data being sent to the main thread (for processing by the ScriptResource). Potentially this would mean moving the whole ScriptResource off-thread, with a main thread dispatch only when the resource is completely loaded.
 
Blocking: 885053
Labels: -Pri-3 Pri-2
Blocking: 866868
Cc: wanderview@chromium.org yhirano@chromium.org
Status: Assigned (was: Untriaged)
Blockedon: 894819

Sign in to add a comment