-
-
Notifications
You must be signed in to change notification settings - Fork 334
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
Fix high percentage of slow frames #1915
Conversation
444a285
to
cca4b8f
Compare
cca4b8f
to
24255b8
Compare
Co-authored-by: Dhiogo Brustolin <dhiogorb@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR is Good!
Ready to merge.
I think we could create an UITest that causes slow and frozen frames, and check whether the new labels in the sample were update. But this could be done in another PR.
Yes, I agree. I added an issue #1917 |
📜 Description
The SentryFramesTracker didn't handle fps changes from
the CADisplayLink. This is fixed now by calculating the
actual frame rate as pointed out by the docs.
Docs PR getsentry/sentry-docs#5209.
💡 Motivation and Context
Fixes #1881
💚 How did you test it?
Setting preferredframespersecond and running on a real device, real device, unit tests, and UI tests.
📝 Checklist
🔮 Next steps