DescriptionMaterial PDF: Drastically reduce time required to stamp complex bookmark trees
The behaviour of dom-if changed in Polymer 1.0 to make it useful for
lazily stamping complex DOM subtrees. This CL adds dom-if to
viewer-bookmark, so that child bookmarks are only created when they are
made visible. On my workstation, this cuts the time to initially render
a complex bookmarks menu from 6 seconds to 0.2 seconds.
Also, make use of reflectToAttribute to remove some single-use CSS
classes.
BUG=110020
Committed: https://crrev.com/6c47f50421211570b7549062d199b24a4cf26445
Cr-Commit-Position: refs/heads/master@{#351017}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|