Files
flutter/dev/benchmarks/platform_views_layout_hybrid_composition
Rulong Chen(陈汝龙) ccb2b4439a Using initExpensiveAndroidView for Android Hybrid Composition Mode (#142399)
After https://github.com/flutter/flutter/pull/100990, we should use `initExpensiveAndroidView` for Android Hybrid Composition mode instead of `initSurfaceAndroidView`. 

`initSurfaceAndroidView` attempts to use `TLHC` when possible. In cases where that is not supported, it falls back to using Hybrid Composition.

https://github.com/flutter/engine/pull/49414
2024-01-30 06:59:24 +00:00
..
2024-01-24 15:33:17 -08:00

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.