flutter / flutter/devtools

DevTools assumes the framerate for a device does not change once the performance page opens

Đang mở
#3,269 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug P2 screen: performance
Ngôn ngữ chính
Dart
Star
1.7k
Fork
404
Merge trung bình
6 ngày 17 giờ
Pull request đã merge (30 ngày)
18

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.