flutter / flutter/devtools

DevTools performance page broken when using systrace recorder

Offen
#6,524 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
P2 screen: performance
Vorherrschende Sprache
Dart
Sterne
1.7k
Forks
404
Ø Merge
6 T. 17 Std.
Gemergte PRs (30 T.)
18

Beschreibung

When launching an app with `--trace-systrace`, the performance tab in DevTools just spins, and JS console shows the following:
![image](https://github.com/flutter/devtools/assets/43759233/2005e70c-dfcd-48d5-8d64-53dce6c13fdb)

@bkonyi is there a way for us to check at runtime which timeline recorder is being used? If the systrace recorder is in use, in DevTools we should gate our logic that depends on timeline events from the VM service and we should provide the user with instructions on how to load this trace into DevTools from file or into ui.perfetto.dev directly.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.