-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert of HTMLConstructionSite: avoid n^2 running time for large scri…
…pts. (patchset #5 id:80001 of https://codereview.chromium.org/494993002/) Reason for revert: Speculative revert. It may break the following blink sheriff bot: http://build.chromium.org/p/chromium.webkit/builders/Android%20Tests%20%28dbg%29/builds/21403 Original issue's description: > HTMLConstructionSite: avoid n^2 running time for large scripts. > > Every time background parser sends chunk, tree is flushed. > > If page contains very large script, then script node content is updated > many times. Every update is causes string concatenation. > > Solution: do not flush pending text until it is mandatory. > > Test: https://codereview.chromium.org/500363002 > Test depends on: https://codereview.chromium.org/544453004/ > > BUG=410790 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181635 [email protected],[email protected],[email protected] NOTREECHECKS=true NOTRY=true BUG=410790 Review URL: https://codereview.chromium.org/555223002 git-svn-id: svn://svn.chromium.org/blink/trunk@181664 bbb929c8-8fbe-4397-9dbb-9b2b20218538
- Loading branch information
1 parent
f03316e
commit 5f6530b
Showing
5 changed files
with
16 additions
and
30 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