flutter/dev/benchmarks/complex_layout
Chris Bracken 2c0c9ba9e5
Apply media padding in complex layout benchmark drawer header (#13610)
By default BoxScrollView (and hence ListView, which is a subclass)
padding is the media padding along its scroll axis in order to avoid
placing list items within areas where user interaction should be
minimised -- e.g. under the status bar, or in and around the iPhone X
notch in landscape mode.

In cases where a list item should occupy the padding area, developers
should set the ListView padding to EdgeInsets.zero so as not to pick up
the default media padding. For widgets inside the drawer that should
avoid safe areas, developers can add a SafeArea widget.
2017-12-15 12:46:35 -08:00
..
android Revert "Refresh template instances (#13563)" (#13565) 2017-12-14 15:38:39 +01:00
ios Reapply flutter_assets (#13567) 2017-12-14 17:27:25 +01:00
lib Apply media padding in complex layout benchmark drawer header (#13610) 2017-12-15 12:46:35 -08:00
test_driver enable lint prefer_single_quotes (#12665) 2017-10-22 18:11:36 +02:00
pubspec.yaml flutter update-packages (#13571) 2017-12-14 10:07:51 -08:00
README.md add readme for complex_layout benchmark (#5948) 2016-09-20 10:39:31 -07:00

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

Results should be in the logs.

Additional results should be in the file build/start_up_info.json.