getsentry / sentry-dart

Sentry SDK for Dart and Flutter
https://sentry.io/for/flutter/
MIT License
764 stars 239 forks source link

Deprecate manual TTID / `SentryDisplayWidget` #2449

Open buenaflor opened 12 hours ago

buenaflor commented 12 hours ago

Description

Current state

We currently allow two options:

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. Image