aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/hubbub_html_parser.rs
diff options
context:
space:
mode:
authorbors-servo <release+servo@mozilla.com>2014-02-14 20:47:01 -0500
committerbors-servo <release+servo@mozilla.com>2014-02-14 20:47:01 -0500
commit425210b9b404ca769037879f9c2a01c63a0375c8 (patch)
treeb6c729586d4a2f9392f203b8bac91448e7d763fd /src/components/script/html/hubbub_html_parser.rs
parent6b89cbf3c508a9a19469e9b95d72026fc837661c (diff)
parentd3e56fa9cc479b242e8c322cc6e1bbd8e7cb1070 (diff)
downloadservo-425210b9b404ca769037879f9c2a01c63a0375c8.tar.gz
servo-425210b9b404ca769037879f9c2a01c63a0375c8.zip
auto merge of #1644 : pcwalton/servo/style-sharing, r=larsbergstrom
This series of patches implements style struct sharing as found in existing browser engines, as well as a bunch of related important optimizations. With them, we are faster than Blink, WebKit, and Gecko on the rainbow page for style recalc in sequential mode by at least 15%. Parallel gains are mixed—the rainbow page turns out to be a degenerate sequential case for the LRU cache used to track candidates for style sharing and so there is no improvement. For cases in which the cache is not hit, such as `perf-rainbow-hard.html`, we are around 25% slower than Blink sequentially, but have very large parallel wins so that we are around 2x faster at style recalc. (Note that parallel flow tree construction will improve this further.) This patch series also fixes, as near as I can tell, some bugs related to ordering of properties that other properties depend on in selector matching. r? @larsbergstrom feedback? @SimonSapin (for selector matching changes) feedback? @bzbarsky (for style sharing heuristics)
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
0 files changed, 0 insertions, 0 deletions