Open derekxu16 opened 11 months ago
The original issue filed had this comment about the delay in loading up the timeline page 6-16 seconds: --serve-observatory (observatory displaying the timeline view) 34 seconds-end: --no-serve-observatory (devtools displaying the timeline view) It is possible this delay is because of this error being encountered, once the issue is fixed we should re measure the time to make sure we don't see this difference.
It looks like there's something going wrong in the communcation between DevTools and the embedded trace viewer when sending large traces. This was originally reported in the Dart SDK repo as https://github.com/dart-lang/sdk/issues/53967, but I think it belongs here instead.
Reproduction steps:
Run the above program with
dart --observe --timeline-streams=all --timeline-recorder=endless example.dart
.dart-trace.json
file can be succesfully loaded by ui.perfetto.dev.