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
Since LCP heavily relies on element timing, I wonder how exactly it does that, since it would need the timings of all elements on the page that could have a visual impact. This would also be interesting for third party performance analytics software to determine, say, the slowest X visible elements and their URLs. Is this feasible?
I imagine an approach similar to LCP with a buffered flag where I can pull element timings at any given point in time and use that data to analyze rendering performance culprits. Maybe even a flag that allows to set the buffer size, e.g. only store slowest X entries.
The text was updated successfully, but these errors were encountered:
DerGernTod
changed the title
Rather than add tagging attributes, allow to "get timings for all elements" via flag.
Rather than add tagging attributes to elements, allow to "get timings for all elements" via flag.
Dec 7, 2021
@npm1 for opinions on feasibility. I suspect the cost of keeping track of all element paints would be too high, but I'm not sure if this is something we already looked into.
It'd be interesting to understand specific use-cases that this would enable - if there's cost then a strong use case can potentially offset it.
It seems feasible but also somewhat costly because there are certain computations that are only done in Element Timing (LCP does not expose the rects), and we'd need to create timing entries for everything (very costly). Storing the "slowest X entries" does not make a lot of sense: slowest according to what? There can be a stream of incoming new elements (due to animations/user input etc.) so it's not clear what you mean by that.
Since LCP heavily relies on element timing, I wonder how exactly it does that, since it would need the timings of all elements on the page that could have a visual impact. This would also be interesting for third party performance analytics software to determine, say, the slowest X visible elements and their URLs. Is this feasible?
I imagine an approach similar to LCP with a
buffered
flag where I can pull element timings at any given point in time and use that data to analyze rendering performance culprits. Maybe even a flag that allows to set the buffer size, e.g. only store slowest X entries.The text was updated successfully, but these errors were encountered: