Add benchmark for ShaderMask RasterCache (#100127)

This commit is contained in:
wangying
2022-03-28 15:15:07 +08:00
committed by GitHub
parent 654aaa8eb2
commit 712abb08e2
8 changed files with 140 additions and 1 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(
'shader_mask_cache_perf',
kShaderMaskCacheRouteName,
pageDelay: const Duration(seconds: 1),
duration: const Duration(seconds: 10),
);
}