Chromium Code Reviews
DescriptionMD History: Add lazy-render element for simple lazy initialization.
history-lazy-render provides a simple promise-based API for deferring
rendering of a <template> until it is needed. This works well for
elements such as menus and dialogs which are always accessed
imperatively.
This saves approximately 5% of time to first meaningful paint on the
history page (990ms vs 950ms, n=5).
BUG=629710
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/d093ecc760fe41eac075f700b36ab1cc8a8a979a
Cr-Commit-Position: refs/heads/master@{#412189}
Patch Set 1 : Add unit test #Patch Set 2 : Rebase #Patch Set 3 : Lazy render synced tabs menu #
Total comments: 12
Patch Set 4 : Rebase #Patch Set 5 : Review comments, fix tests #
Total comments: 2
Patch Set 6 : Rebase #Messages
Total messages: 36 (28 generated)
|