We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e7422d commit 525aafaCopy full SHA for 525aafa
FirebasePerformance/Sources/AppActivity/FPRScreenTraceTracker.m
@@ -257,10 +257,7 @@ - (void)updateCachedSlowBudget {
257
}
258
if (maxFPS > 0) {
259
_cachedMaxFPS = maxFPS;
260
- // Preserve legacy behavior: 60 FPS devices historically used 59 FPS threshold
261
- // to avoid too many false positives for slow frames.
262
- NSInteger effectiveFPS = (maxFPS == 60) ? 59 : maxFPS;
263
- _cachedSlowBudget = 1.0 / effectiveFPS;
+ _cachedSlowBudget = 1.0 / maxFPS;
264
} else {
265
// Fallback to default FPS if maximumFramesPerSecond is unavailable or invalid.
266
_cachedMaxFPS = kFPRDefaultFPS;
0 commit comments