complex_layout_scroll_perf__memory.dart 677 Bytes
Newer Older
1 2 3 4 5 6 7 8
// Copyright 2016 The Chromium 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 'dart:async';

import 'package:flutter_devicelab/framework/adb.dart';
import 'package:flutter_devicelab/framework/framework.dart';
9 10
import 'package:flutter_devicelab/framework/utils.dart';
import 'package:flutter_devicelab/tasks/perf_tests.dart';
11

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