[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:
@@ -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),
|
||||
);
|
||||
}
|
||||
@@ -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),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user