complex_layout_scroll_perf__memory.dart 654 Bytes
Newer Older
Ian Hickson's avatar
Ian Hickson committed
1
// Copyright 2014 The Flutter Authors. All rights reserved.
2 3 4 5 6
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter_devicelab/framework/adb.dart';
import 'package:flutter_devicelab/framework/framework.dart';
7 8
import 'package:flutter_devicelab/framework/utils.dart';
import 'package:flutter_devicelab/tasks/perf_tests.dart';
9

10
Future<void> main() async {
11
  deviceOperatingSystem = DeviceOperatingSystem.android;
12
  await task(MemoryTest(
13 14 15 16
    '${flutterDirectory.path}/dev/benchmarks/complex_layout',
    'test_memory/scroll_perf.dart',
    'com.yourcompany.complexLayout',
  ).run);
17
}