Reland "Branch out android platform view perf testing (#60238)" (#61554)

This commit is contained in:
Chris Yang
2020-07-16 11:23:52 -07:00
committed by GitHub
parent c78578417d
commit 63ceeb8f15
48 changed files with 1277 additions and 30 deletions

View File

@@ -0,0 +1,26 @@
# platform_views_layout_hybrid_composition
## 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/platform_views_scroll_perf_hybrid_composition.timeline_summary.json`.
More detailed logs should be in `build/platform_views_scroll_perf_hybrid_composition.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`.