Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2010-08-08 James Robinson <jamesr@chromium.org>
Reviewed by Adam Barth. Set the shouldLazyAttach flag to true in the tree builder's adoption agency algorithm https://bugs.webkit.org/show_bug.cgi?id=43610 Sets the shouldLazyAttach flag to true for appendChild() calls inside the HTML tree builder's adoption agency flag. This is a speedup assuming that nodes subjected to the adoption agency are likely to be frequently reparented, and thus it is better to delay creating the render tree until later (when hopefully the DOM is finalized). On my mac pro this speeds up fast/parser/residual-style-hang.html by 2.6X. * html/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::callTheAdoptionAgency): 2010-08-08 James Robinson <jamesr@chromium.org> Reviewed by Adam Barth. Set the shouldLazyAttach flag to true in the tree builder's adoption agency algorithm https://bugs.webkit.org/show_bug.cgi?id=43610 New baselines for tests where the render tree depends on 0x0 render objects being created/destroyed during adoption agency fixups. * platform/mac/fast/forms/formmove3-expected.txt: * platform/mac/fast/forms/preserveFormDuringResidualStyle-expected.txt: * platform/mac/fast/invalid/003-expected.txt: * platform/mac/fast/invalid/019-expected.txt: * platform/mac/tables/mozilla/bugs/bug647-expected.txt: * platform/mac/tables/mozilla/other/wa_table_tr_align-expected.txt: Canonical link: https://commits.webkit.org/55767@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64954 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
11 changed files
with
50 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters