flutter / flutter/devtools

Timeline doesn't show long frame captured in Logging

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

描述

Timeline sometimes hides long frames and reports no jank detected, even when Logging reports it. Notice the frame stamps in the screenshots.

![Logging](https://user-images.githubusercontent.com/45799422/221277135-d53ecd24-cefc-4cf0-b1a6-67d0cd356c17.png)
![Timeline](https://user-images.githubusercontent.com/45799422/221277144-02a9ae2f-359a-434f-addd-3178acdaf480.png)

___
**DevTools version**: 2.21.1
**Connected Device**:
CPU / OS: x64 (64 bit) macos
Dart Version: 3.0.0-261.0.dev
Flutter Version: 3.8.0-15.0.pre.3 / master
Framework / Engine: 7d85a585da / 3aa112c75c
Connected app type: Flutter native (debug build)

贡献指南

打开贡献指南

调研方向

首先在 DevTools 2.21.1 或所引用的 Flutter master 设置中重现这一差异,对比 Logging 和 Timeline 中显示的帧时间戳。跟踪每个视图如何报告长帧事件,并验证 Timeline 显示的帧和卡顿状态是否与 Logging 相同。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart
领域
observability, performance
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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