You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would probably need to replace ActivityFramesTracker with something based on choreographer.postFrameCallback(frameCallback) similar to what is done here
This is already done for Profiling, as frame metrics are already collected on a frame by frame level. It probably makes sense to refactor the existing ActivityFramesTracker and make it's collected data available to both Profiling and Transactions.
Activity
marandaneto commentedon May 12, 2022
As I understood, this is already done on iOS for every transaction, since they don't need the instance of the view such as
activity.[-]Metrics for UI events transactions[/-][+]Mobile Vitals for UI events transactions[/+]bruno-garcia commentedon Jun 15, 2022
Moving to the sentry-java repo since iOS already has this.
philippsuess commentedon Jun 17, 2022
Yes, indeed.
adinauer commentedon Sep 30, 2022
Would probably need to replace
ActivityFramesTrackerwith something based onchoreographer.postFrameCallback(frameCallback)similar to what is done heresentry-java/sentry-android-integration-tests/sentry-uitest-android-benchmark/src/androidTest/java/io/sentry/uitest/android/benchmark/util/BenchmarkOperation.kt
Lines 142 to 166 in 7300956
This would then also be helpful for FPS Mobile Vitals.
markushi commentedon Feb 15, 2023
This is already done for Profiling, as frame metrics are already collected on a frame by frame level. It probably makes sense to refactor the existing
ActivityFramesTrackerand make it's collected data available to both Profiling and Transactions.markushi commentedon Feb 15, 2023
It could make sense to re-use the frame-by-frame profiling collector in case there isn't too much of an overhead. (
SentryFramesMetricCollector)romtsn commentedon Mar 6, 2024
this is superseded by mobile starfish and will be tackled by the mobile interfactions module