Add scroll performance test for flutter_gallery (#27513)

Previously, we had a scroll_perf drive test but we were not exercising
it on our device lab. This helps us tracking issues like:
https://github.com/flutter/flutter/issues/24782
This commit is contained in:
liyuqian
2019-02-04 22:54:11 -08:00
committed by GitHub
parent f4d5646b31
commit de321b9cc1
3 changed files with 30 additions and 0 deletions

View File

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