flutter / flutter/devtools

Enable high-res CPU profile sampling for app startup

Open
#6,975 5 comments 0 reactions 0 assignees View on GitHub
new feature P2 screen: cpu profiler
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.