mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() Part of https://github.com/flutter/flutter/issues/143404 We currently drop the first N frames of all benchmarks. For the app based benchmarks (not microbenchmarks) this is harmful as we miss first time initialization costs in our CI. Still need to do this with flutter/gallery, but that lives in a different repo. |
||
---|---|---|
.. | ||
android | ||
ios | ||
lib | ||
macos | ||
test | ||
test_driver | ||
test_memory | ||
windows | ||
pubspec.yaml | ||
README.md |
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
.