flutter / flutter/devtools

DevTools performance page doesn't detect jank between frames

Aperta
#4,479 10 commenti 0 reazioni 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

In this example, the running app (Wonderous in profile mode) visibly janks, but there are no janky frames in the DevTools performance page. Upon looking deeper into the timeline trace, it is clear that there is a large gap of latency between two frames:
![Screen Shot 2022-09-15 at 11 47 36 AM](https://user-images.githubusercontent.com/43759233/190485345-3626c97f-4b4c-4ea4-b9f8-50ab9957fb8d.png)
![Screen Shot 2022-09-15 at 11 48 03 AM](https://user-images.githubusercontent.com/43759233/190485349-7f715787-29d5-4e7a-af1d-76e385cde78d.png)

How is a user supposed to debug the jank at this point? How can we help them understand what could be causing the latency between frames?

CC @chinmaygarde @dnfield @iskakaushik @jonahwilliams for ideas.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.