flutter / flutter/devtools

DevTools performance page doesn't detect jank between frames

未关闭
#4,479 10 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
P2 screen: performance
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。