flutter / flutter/devtools

DevTools performance page doesn't detect jank between frames

オープン
#4,479 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る
P2 screen: performance
主要言語
Dart
スター
1.7k
フォーク
404
平均マージ
6日 17時間
マージ済み PR(30日)
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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、DevTools のパフォーマンスページで Wonderous の profile-mode の jank を再現し、ページのフレーム検出と issue に表示されているタイムラインのトレースを比較します。フレーム間のギャップがどのように表現され、報告されるかを追跡します。ページがこのレイテンシを特定または説明し、ユーザーが jank を調査できるようになれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
dart, flutter
領域
devtools, performance
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。