Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how is frozen frame rate calculated? #4021

Open
thinkocapo opened this issue Jan 6, 2025 · 1 comment
Open

how is frozen frame rate calculated? #4021

thinkocapo opened this issue Jan 6, 2025 · 1 comment

Comments

@thinkocapo
Copy link

Problem Statement

We know

  • SDK captures slow and frozen frames per span, regardless of what’s shown on screen
  • Depends on what happens during the span
  • If it’s a span related to Fragment creation, the problem is in the fragment
  • Sentry knows that at a specific time there was a frozen frame, but we don’t know if it’s due to the Activity or Fragment, as they’re both active same time
  • We don’t distinguish which is which, so instrument Fragments properly (Custom) if needed

Trace for Activity start

  • Span for Fragment
  • Span for Fragment

Solution Brainstorm

Frozen Frames per fragment

@markushi
Copy link
Member

markushi commented Jan 15, 2025

@thinkocapo do you think this is a duplicate of #3719 ?

We don’t distinguish which is which, so instrument Fragments properly (Custom) if needed

The underlying problem here is that even with custom instrumentation the slow/frozen frame numbers are provided by the system for the whole screen, so we're not able to pinpoint a specific slow/frozen frame to a certain fragment/span.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: Needs More Information
Development

No branches or pull requests

3 participants