
Update test expectations from application/javascript -> text/javascript `package:mime` now uses `text/javascript` and not `application/javascript`. See https://github.com/dart-lang/mime/pull/76. See https://datatracker.ietf.org/doc/html/rfc9239. > This document defines equivalent processing requirements for the various script media types. The most widely supported media type in use is `text/javascript`; all others are considered historical and obsolete aliases of `text/javascript`.
complex_layout
Scrolling benchmark
To run the scrolling benchmark on a device:
flutter drive --profile test_driver/scroll_perf.dart
Results should be in the file build/complex_layout_scroll_perf.timeline_summary.json
.
More detailed logs should be in build/complex_layout_scroll_perf.timeline.json
.
Startup benchmark
To measure startup time on a device:
flutter run --profile --trace-startup
The results should be in the logs.
Additional results should be in the file build/start_up_info.json
.