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.
This commit is contained in:
liyuqian
2019-11-19 15:48:41 -08:00
committed by GitHub
parent 99324105da
commit a32fc986f3
11 changed files with 385 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ dependencies:
rally_assets: 1.0.0
# Also update dev/benchmarks/complex_layout/pubspec.yaml
# and dev/benchmarks/macrobenchmarks/pubspec.yaml
flutter_gallery_assets: 0.1.9+2
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"