1 2011-01-28 Eric Seidel <eric@webkit.org>
3 Reviewed by Darin Adler.
5 HTML5 TreeBuilder regressed a Peacekeeper DOM test by 40%
6 https://bugs.webkit.org/show_bug.cgi?id=48719
8 It's unclear exactly what the Peacekeeper benchmark is testing,
9 because I haven't found a way to run it myself.
11 However, I constructed a benchmark which shows at least one possible slow point.
12 The HTML5 spec talks about creating a new document for every time we use
13 the fragment parsing algorithm. Document() it turns out, it a huge bloated
14 mess, and the constructor and destructor do a huge amount of work.
15 To avoid constructing (or destructing) documents for each innerHTML call,
16 this patch adds a shared dummy document used by all innerHTML calls.
18 * benchmarks/parser/tiny-innerHTML.html: Added.
20 2010-12-31 Adam Barth <abarth@webkit.org>
22 Rubber-stamped by Eric Seidel.
24 Move HTML and XML parser benchmarks into PerformanceTests/Parser
25 https://bugs.webkit.org/show_bug.cgi?id=51772
27 Add a ChangeLog for tracking changes to the Parser PerformanceTest.