-
-
Notifications
You must be signed in to change notification settings - Fork 277
Closed
Description
Description
Current state
We currently allow two options:
- automatic ttid which calls
addPostFrameCallbackwithindidPushof the navigator observer - manual ttid which calls
addPostFrameCallbackwithin a widget'sinitStatethat you need to wrap around the widget you want to measure from
Why deprecate the manual version?
After some tests I've come to the conclusion that the automatic version is more accurate than we think (see timeline), there is usually a difference of around 2-5ms (give or take) to the actual frame duration which is negligible.
By deprecating it / removing it in v9 we reduce complexity of the implementation and usage but still report accurate data.

Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Done