DevTools assumes the framerate for a device does not change once the performance page opens
- 主要语言
- Dart
- 星标
- 1.7k
- 派生
- 404
- 平均合并
- 6 天 17 小时
- 30 天内合并 PR
- 18
描述
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
贡献指南
调研方向
Start at packages/devtools_app/lib/src/performance/performance_controller.dart around the linked line and trace how the performance page obtains the device refresh rate at startup. Investigate the frame-timing flow and whether it exposes target refresh-rate changes. Done means the page reflects a device switching between 60 and 90 fps after it opens.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- dart
- 领域
- performance
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100