flutter/dev/benchmarks/macrobenchmarks
liyuqian a32fc986f3
Add a perf test for picture raster cache (#45050)
This will catch issues like
https://github.com/flutter/flutter/issues/44252, and this test is
inspired by the `list_demo` sample app in
https://github.com/flutter/flutter/issues/43083#issue-509586473

This is tested locally on a Moto G4 before and after the fix
https://github.com/flutter/engine/pull/13710

The `average_frame_rasterizer_time_millis` of this test drops from
~5.4ms to ~4.9ms after that fix.
2019-11-19 15:48:41 -08:00
..
android Reland: Migrate examples to Android embedding v2 (#44139) 2019-11-04 17:25:25 -08:00
ios use_modular_headers (#42204) 2019-10-15 12:36:50 -07:00
lib Add a perf test for picture raster cache (#45050) 2019-11-19 15:48:41 -08:00
test_driver Add a perf test for picture raster cache (#45050) 2019-11-19 15:48:41 -08:00
pubspec.yaml Add a perf test for picture raster cache (#45050) 2019-11-19 15:48:41 -08:00
README.md Update macrobenchmarks README and app name (#35477) 2019-07-02 17:10:52 -07:00

Macrobenchmarks

Performance benchmarks using flutter drive.

Cull opacity benchmark

To run the cull opacity benchmark on a device:

flutter drive --profile test_driver/cull_opacity_perf.dart

Results should be in the file build/cull_opacity_perf.timeline_summary.json.

More detailed logs should be in build/cull_opacity_perf.timeline.json.

Cubic bezier benchmark

To run the cubic bezier benchmark on a device:

flutter drive --profile test_driver/cubic_bezier_perf.dart

Results should be in the file build/cubic_bezier_perf.timeline_summary.json.

More detailed logs should be in build/cubic_bezier_perf.timeline.json.

Backdrop filter benchmark

To run the backdrop filter benchmark on a device:

flutter drive --profile test_driver/backdrop_filter_perf.dart

Results should be in the file build/backdrop_filter_perf.timeline_summary.json.

More detailed logs should be in build/backdrop_filter_perf.timeline.json.