Add benchmark case for RasterCache (#103338)

This commit is contained in:
JsouLiang
2022-06-30 07:54:10 +08:00
committed by GitHub
parent 4c1d887e9c
commit f0200f0106
8 changed files with 188 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
// 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() {
macroPerfTestE2E(
'raster_cache_use_memory_perf',
kRasterCacheUseMemory,
pageDelay: const Duration(seconds: 1),
duration: const Duration(seconds: 10),
);
}