DevTools assumes the framerate for a device does not change once the performance page opens
Ouverte
bug
P2
screen: performance
- Langage dominant
- Dart
- Étoiles
- 1.7k
- Forks
- 404
- Merge moyen
- 6 j 17 h
- PR mergées (30 j)
- 18
Description
Some devices like a Pixel4 can intentionally switch between 60 and 90fps.
We currently appear to only query for the refresh rate on startup. We probably need to receive the target refresh rate with each frame timing even or receive separate events when the target frame rate changes.
https://github.com/flutter/devtools/blob/64aefd56202560727758bac7e5629841c902e5fa/packages/devtools_app/lib/src/performance/performance_controller.dart#L200
Fyi @kenzieschmoll, @jonahwilliams
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.