[devicelab] track performance of animated image filter (#115850)

* [devicelab] track performance of animated image filter

* ++

* make animations repeat and add dispose

* make duration more consistently 10sec
This commit is contained in:
Jonah Williams
2022-11-28 17:59:19 -08:00
committed by GitHub
parent f777c9f651
commit dfa3d33328
11 changed files with 146 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:macrobenchmarks/common.dart';
import 'util.dart';
void main() {
macroPerfTestE2E(
'animated_complex_image_filtered_perf',
kAnimatedComplexImageFilteredPerfRouteName,
pageDelay: const Duration(seconds: 1),
duration: const Duration(seconds: 10),
);
}

View File

@@ -11,6 +11,6 @@ void main() {
'animated_complex_opacity_perf',
kAnimatedComplexOpacityPerfRouteName,
pageDelay: const Duration(seconds: 1),
duration: const Duration(seconds: 5),
duration: const Duration(seconds: 10),
);
}

View File

@@ -11,6 +11,6 @@ void main() {
'animated_placeholder_perf',
kAnimatedPlaceholderRouteName,
pageDelay: const Duration(seconds: 1),
duration: const Duration(seconds: 5),
duration: const Duration(seconds: 10),
);
}