[Webkit-unassigned] [Bug 106127] [meta] HTML parser shouldn't block the main thread
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 8 14:29:53 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=106127
--- Comment #9 from Eric Seidel <eric at webkit.org> 2013-01-08 14:31:47 PST ---
(In reply to comment #8)
> Created an attachment (id=181766)
--> (https://bugs.webkit.org/attachment.cgi?id=181766&action=review) [details]
> Looking at the ParseHTML_max column, the parser seems to often consume multiple frames (by which I mean 60 Hz time slices on the main thread). In some cases, such as http://en.wikipedia.org/wiki/Wikipedia and http://games.yahoo.com the parser creates 7-9 frames of jank.
The parser is currently set only to yield every 4000 tokens or 500ms. Which is likely waaay too long on a touch device.
http://trac.webkit.org/browser/trunk/Source/WebCore/html/parser/HTMLParserScheduler.cpp#L34
It would be interesting to build with a much lower threshold (like 30ms) and see how the web feels.
Definitely pulling the parser off the main thread might help with these sorts of jank.
--
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