[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 03:23:13 PDT 2011


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





--- Comment #7 from Antti Koivisto <koivisto at iki.fi>  2011-06-29 03:23:13 PST ---
> # Measurement with html-parser performance test (trunk/PerformanceTests/Parser/html-parser.html) runs:
> 
> with PreloadScanner: 1774 ms (+/-5.8%)
> without PreloadScanner: 23.7 ms (+/-0.55%)
> with my ThreadedPreloadScanner: 77.15 ms (+/-1.5%)

In the worst case preload scanner will end up tokenizing the document text twice. Considering the triviality of the parsing compared the real parser (and  the lack of tree building), the cost should always be fraction of the time spend in real parsing.

Either these results indicate serious bug in preload scanning or you are mismeasuring.

-- 
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