flutter / flutter/devtools

CPU Profiler Fetching CPU sample forever

Open
#9,859 0 comments 1 reaction 0 assignees View on GitHub
bug P2 screen: cpu profiler
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

The CPU Profiler appears to work correctly in Debug mode, where CPU sample data is loaded almost immediately after recording. However, in Profile mode, the profiler seems to get stuck indefinitely in the "Fetching CPU samples" state.

Steps to Reproduce in my case
Launch the app in Profile mode.
Open DevTools > CPU Profiler.
Start recording.
Perform a simple action in the app.
Stop recording after a very short duration (e.g. 0.5 seconds).

https://github.com/user-attachments/assets/71c86455-0f30-460f-8e1a-fb33040217da
___
**DevTools version**: 2.54.2
**Connected Device**:
CPU / OS: arm64 (64 bit) android
Connected app type: Flutter native (profile build)
Dart Version: 3.11.5
Flutter Version: 3.41.9 / stable
Framework / Engine: 00b0c91f06 / 42d3d75a56

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.