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

This will catch issues like https://github.com/flutter/flutter/issues/44252, and this test is inspired by the `list_demo` sample app in https://github.com/flutter/flutter/issues/43083#issue-509586473 This is tested locally on a Moto G4 before and after the fix https://github.com/flutter/engine/pull/13710 The `average_frame_rasterizer_time_millis` of this test drops from ~5.4ms to ~4.9ms after that fix.
15 lines
494 B
Dart
15 lines
494 B
Dart
// Copyright 2019 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/tasks/perf_tests.dart';
|
|
import 'package:flutter_devicelab/framework/adb.dart';
|
|
import 'package:flutter_devicelab/framework/framework.dart';
|
|
|
|
Future<void> main() async {
|
|
deviceOperatingSystem = DeviceOperatingSystem.android;
|
|
await task(createPictureCachePerfTest());
|
|
}
|