2011-01-27 Eric Seidel <eric@webkit.org>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Feb 2011 23:32:39 +0000 (23:32 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Feb 2011 23:32:39 +0000 (23:32 +0000)
commitd93b6425b67d52535ac96c21e7809c8e341f841f
tree3e784302d820599610401c105caa3ca05251cd38
parent7451850521673b94f2911c19be172fcf98082281
2011-01-27  Eric Seidel  <eric@webkit.org>

        Reviewed by Darin Adler.

        HTML5 TreeBuilder regressed a Peacekeeper DOM test by 40%
        https://bugs.webkit.org/show_bug.cgi?id=48719

        It's unclear exactly what the Peacekeeper benchmark is testing,
        because I haven't found a way to run it myself.

        However, I constructed a benchmark which shows at least one possible slow point.
        The HTML5 spec talks about creating a new document for every time we use
        the fragment parsing algorithm.  Document() it turns out, it a huge bloated
        mess, and the constructor and destructor do a huge amount of work.

        * benchmarks/parser/tiny-innerHTML.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@77426 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/Parser/ChangeLog
PerformanceTests/Parser/tiny-innerHTML.html [new file with mode: 0644]