• Yuqian Li's avatar
    Increase simple animation delay and duration (#64002) · d7d1461f
    Yuqian Li authored
    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.
    d7d1461f
simple_animation_perf_test.dart 418 Bytes
// 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),
  );
}