flutter/dev/benchmarks/platform_views_layout/README.md
Kishan Dhankecha 2867ac7885
Added missing code block language in docs (#147481)
- added language for all code blocks
- replaced `bash` or `shell` with `sh` for consistency.
- added `sh` and `console` in the GitHub template link generator.
- updated test for GitHub template.
2024-05-01 14:44:27 +00:00

27 lines
545 B
Markdown

# platform_views_layout
## Scrolling benchmark
To run the scrolling benchmark on a device:
```sh
flutter drive --profile test_driver/scroll_perf.dart
```
Results should be in the file `build/platform_views_scroll_perf.timeline_summary.json`.
More detailed logs should be in `build/platform_views_scroll_perf.timeline.json`.
## Startup benchmark
To measure startup time on a device:
```sh
flutter run --profile --trace-startup
```
The results should be in the logs.
Additional results should be in the file `build/start_up_info.json`.