flutter / flutter/devtools

Enable high-res CPU profile sampling for app startup

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

描述

### Use case

Right now the CPU profiler in DevTools has to be manually started. You can ask it for any samples that may have been captured during startup, but they usually only cover a very brief window of time during startup.

### Proposal

There needs to be an option to start high-res CPU profiling sampling automatically, as soon as the app is started up, so that the startup activity can be fully profiled.

贡献指南

打开贡献指南

调研方向

首先定位 DevTools CPU profiler 和启动 profiling 流程,然后将它们与现有的手动启动采样行为进行比较。当某个选项能够在应用启动时自动开始高分辨率 CPU 采样,并捕获完整的启动活动时,这项工作就完成了。

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

评估

技术栈
dart
领域
devtools, performance
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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