Right, is that very different from the perf of <style>? insertRule() avoids adding text node to the dom (as opp to appending text to style)
-
-
That's where the problem space gets interesting. Finding the sweet spot where it matters and fixing the bottlenecks that makes it slow now.
-
Strongly recommend you look at Shadow DOM + cloneNode for shared chunks.
- 2 more replies
New conversation -
-
-
Also, recall that the browser can yield and break up work when parsing formats other than JS.
-
We've got 20 years of incremental rendering experience. Browsers are pretty darned good at managing work to stay responsive.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.