sentry-cocoa
sentry-cocoa copied to clipboard
SentryFramesTracker Background CPU Usage
Platform
iOS
Environment
Develop
Installed
Swift Package Manager
Version
8.20.0
Did it work on previous versions?
No response
Steps to Reproduce
Run app in background
Expected Result
Sentry seems to be taking a bunch of CPU time when our app is in the background. SentryFramesTracker seems to be the culprit. As our app is continuously running in the background this can be a significant issue.
Actual Result
Are you willing to submit a PR?
No response
We could stop the frames tracker when the app goes into the background, which we currently don't do. This should be an easy fix. Thanks for pointing that out, @abbottkilroy.