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:
liyuqian
2018-12-17 22:01:07 -08:00
committed by GitHub
parent 7ecef3aa27
commit 8ad4cbe06e
58 changed files with 1378 additions and 0 deletions

View File

@@ -30,6 +30,14 @@ TaskFunction createTilesScrollPerfTest() {
).run;
}
TaskFunction createCullOpacityPerfTest() {
return PerfTest(
'${flutterDirectory.path}/dev/benchmarks/macrobenchmarks',
'test_driver/cull_opacity_perf.dart',
'cull_opacity_perf',
).run;
}
TaskFunction createFlutterGalleryStartupTest() {
return StartupTest(
'${flutterDirectory.path}/examples/flutter_gallery',