Bug 111614 - Threaded HTML Parser should send preloads directly to the network thread
Summary: Threaded HTML Parser should send preloads directly to the network thread
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 111645
  Show dependency treegraph
 
Reported: 2013-03-06 12:29 PST by Eric Seidel (no email)
Modified: 2013-03-06 16:47 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2013-03-06 12:29:35 PST
Threaded HTML Parser should send preloads directly to the network thread

This would allow preloads to be started quicker in the case of javascript running on the main thread.

The catch is that we'd need to check the MemoryCache before sending out the preload.  Which would likely require a lock to allow access from the networking thread.  I would expect little contention for such a lock.

Others who are more familiar with the loader could speculate better I'm sure.
Comment 1 Adam Barth 2013-03-06 14:55:45 PST
Should we have a meta bug for these sorts threaded parser improvements?
Comment 2 Eric Seidel (no email) 2013-03-06 16:46:19 PST
(In reply to comment #1)
> Should we have a meta bug for these sorts threaded parser improvements?

Created bug 111645.