flutter / flutter/devtools

DevTools performance page doesn't detect jank between frames

Offen
#4,479 10 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
P2 screen: performance
Vorherrschende Sprache
Dart
Sterne
1.7k
Forks
404
Ø Merge
6 T. 17 Std.
Gemergte PRs (30 T.)
18

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.