Add cull opacity perf test to device lab (#25381)
For https://github.com/flutter/flutter/issues/24712
This test verifies that https://github.com/flutter/engine/pull/6923 will speedup the average rasterize time of this test from ~150ms to ~10ms
Please see non-auto-generated files in 37b21d9fb4
This commit is contained in:
15
dev/benchmarks/macrobenchmarks/README.md
Normal file
15
dev/benchmarks/macrobenchmarks/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# 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`.
|
||||
Reference in New Issue
Block a user