sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Investigate JankStats library

Open marandaneto opened this issue 3 years ago • 1 comments

Description

https://developer.android.com/topic/performance/jankstats (still in beta)

It could be a replacement for FrameMetricsAggregator https://github.com/getsentry/sentry-java/blob/main/sentry-android-core/src/main/java/io/sentry/android/core/ActivityFramesTracker.java

The JanksStats library offers two additional capabilities that make it more dynamic and easier to use: jank heuristics and UI state.

marandaneto avatar May 12 '22 08:05 marandaneto

Could extract the data bag that's available and put it on the transaction when sending to Sentry.

adinauer avatar Sep 21 '22 14:09 adinauer

Related to https://github.com/getsentry/team-mobile/issues/55

adinauer avatar Oct 05 '22 13:10 adinauer

Android now recommends improving for 90fps, which means ~11ms per frame instead of 60fps/~16ms, maybe we can consider this when working on the Mobile vitals and how we define slow/frozen frames threshold.

marandaneto avatar Nov 15 '22 20:11 marandaneto