mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

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.
17 lines
418 B
Dart
17 lines
418 B
Dart
// 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() {
|
|
macroPerfTest(
|
|
'simple_animation_perf',
|
|
kSimpleAnimationRouteName,
|
|
pageDelay: const Duration(seconds: 10),
|
|
duration: const Duration(seconds: 10),
|
|
);
|
|
}
|