WICG / frame-timing

Frame Timing API
https://wicg.github.io/frame-timing/
Other
170 stars 18 forks source link

Tracking smoothness of specific elements #60

Open sadrulhc opened 4 years ago

sadrulhc commented 4 years ago

The smoothness proposal exposes information about all animations on the page. However, the developers might only care about whether a specific part of the app is performing well. The API proposal does allow filtering out the animations on uninteresting elements (by using the |PerformanceFrameTiming::element| field). It might be useful to support a declarative filter instead/in addition.