flutter / flutter/devtools

DevTools performance page doesn't detect jank between frames

Open
#4,479 10 comments 0 reactions 0 assignees View on GitHub
P2 screen: performance
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.