flutter / flutter/devtools

Pausing application takes a very long time

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

描述

After clicking pause, it took almost 10 seconds to actually pause the application. Maybe the dart thread was not busy? We should still find a way to pause the app or indicate in the UI that we are trying to pause.

![slow-pause](https://user-images.githubusercontent.com/43759233/227335904-4c6ea3d2-a23f-4cee-937b-331d242a7272.gif)

connected app: dart CLI app (web_test)
devtools: profile build on chrome

@elliette
[web-test.zip](https://github.com/flutter/devtools/files/11055378/web-test.zip)

贡献指南

打开贡献指南

调研方向

使用附加的 web-test.zip 重现延迟,并在 Chrome profile build 中将 Dart CLI 应用连接到 DevTools。从应用的暂停流程开始,确定是否可以减少延迟,或者 UI 是否需要指示暂停正在进行;当行为具有响应性或已得到清晰传达时即完成。

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

评估

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

把新 issue 发到你的邮箱

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