[Webkit-unassigned] [Bug 63531] Turn PreloadScanner implementation to a thread based solution

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 29 07:30:25 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=63531





--- Comment #12 from Tony Gentilcore <tonyg at chromium.org>  2011-06-29 07:30:24 PST ---

> According to this result I guess that the most time consuming part of the preload is not the tokenization but starting the requests. Do you think it is possible?

I didn't consider that starting a request would be expensive. It would be very interesting to demonstrate that is the case. If that does turn out to be the case, then maybe it would be better for the embedder to handle any threading when initiating requests? Chromium, for instance, does IO in a separate thread and the network requests in a separate process.

However, like Antti, I'm somewhat skeptical of the measurement. Why would it be the case that initiating the requests are expensive when done from the preload scanner but not when done from the parser? I would really expect that tokenization is the only work being duplicated here.

Again, I'm not opposed to this change, just want to make sure I understand it completely.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list