flutter / flutter/devtools

Flutter DevTools Performance FPS is not correct

Aperta
#2,865 1 commento 1 reazione 0 assegnatari Vedi su GitHub
P2 screen: performance
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

##### At the same time

##### Here is Android Studio frame info 51.2 fps
![DE3791E3-4E8D-468A-A33E-2879D80CA261](https://user-images.githubusercontent.com/688545/113239750-f45b8b80-92dd-11eb-8775-e9ee05e00549.png)

##### Here is web DevTools frame info 60 fps

![4C913C50-8034-4862-BEC8-E59FCA23DD91](https://user-images.githubusercontent.com/688545/113239942-4bf9f700-92de-11eb-8141-5ebac1b5ac4a.png)

On my mobile phone side,it's has Jank, so i think the web Flutter DevTools Performances is not correct ~

Flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.3, on macOS 11.2.3 20D91 darwin-x64, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.54.1)
[✓] Connected device (2 available)

! Doctor found issues in 1 category.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing the reported comparison using the Flutter 2.0.3 setup described, checking Android Studio's frame information against the web DevTools Performance view. The issue is done when the FPS and jank measurements are shown to be consistent or the discrepancy is clearly explained and corrected.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
dart, flutter
Ambito
devtools, performance
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.