flutter / flutter/devtools

CPU Profiler Fetching CPU sample forever

Aperta
#9,859 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
bug P2 screen: cpu profiler
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.