Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Attributing a dropped frame to a reason #59

Open
sadrulhc opened this issue May 29, 2020 · 1 comment
Open

Attributing a dropped frame to a reason #59

sadrulhc opened this issue May 29, 2020 · 1 comment

Comments

@sadrulhc
Copy link

The smoothness proposal makes it possible to detect dropped frames. This is helpful to measure the smoothness of animations/scrolls, however, these are not directly actionable. The API could expose some information about the dropped frames that would be more actionable for the web-developers (e.g. raf callback triggered expensive layout, etc.).

@sadrulhc
Copy link
Author

The v1 proposal proposes a 'reason' field (arbitrary string) the browser may chose to include. It would be difficult to attribute a single reason to a dropped frame, so perhaps an array of possible reasons would be more appropriate.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant