You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did some profiling and it looks like using an attribute selector with querySelectorAll is faster by roughly the proportion of bound elements to all elements.
However, this is less user friendly and still takes several ms for documents with thousands of elements/attributes, which may not fit in a single frame's budget.
For both cases, the majority (> 90%) of the time is spent iterating over elements and attributes. So as a first step, I'll chunk this part and set a budget of X ms for a single frame.
Related to #6199.
Several slow tasks are necessary during initialization. We should speed it up where possible and chunk/amortize across multiple frames otherwise:
The text was updated successfully, but these errors were encountered: