Add a benchmark for simple DisplayLists to exercise the Raster Cache's cache admission algorithm (#97992)

This commit is contained in:
George Wright
2022-02-07 21:01:01 -08:00
committed by GitHub
parent e8393757c7
commit ff1e9b7b9e
8 changed files with 131 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
// 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:flutter_devicelab/framework/devices.dart';
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/tasks/perf_tests.dart';
Future<void> main() async {
deviceOperatingSystem = DeviceOperatingSystem.android;
await task(createPictureCacheComplexityScoringPerfTest());
}