From d7d1461f75c544622a02e97e6e6df3d9475ab39f Mon Sep 17 00:00:00 2001 From: Yuqian Li Date: Thu, 3 Sep 2020 13:25:19 -0700 Subject: [PATCH] Increase simple animation delay and duration (#64002) Previously, the CPU/GPU measurement using gauge happened after the driver test is done. Now, the measurement happens within the driver test. So we need to properly increase the delay and duration to get a comparable reading as the old gauge measurements. --- .../macrobenchmarks/test_driver/simple_animation_perf_test.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/benchmarks/macrobenchmarks/test_driver/simple_animation_perf_test.dart b/dev/benchmarks/macrobenchmarks/test_driver/simple_animation_perf_test.dart index 34c69d0fdd..d043b91a3a 100644 --- a/dev/benchmarks/macrobenchmarks/test_driver/simple_animation_perf_test.dart +++ b/dev/benchmarks/macrobenchmarks/test_driver/simple_animation_perf_test.dart @@ -10,5 +10,7 @@ void main() { macroPerfTest( 'simple_animation_perf', kSimpleAnimationRouteName, + pageDelay: const Duration(seconds: 10), + duration: const Duration(seconds: 10), ); }