Add benchmark for clipper layers raster cache (#102495)

* Add clipper raster cache benchmarks

* fix ci test error

* Add PhysicalModel widget to test

* Set top margin adaptive screen height

* Remove PhysicalModel
This commit is contained in:
wangying
2022-05-13 14:04:06 +08:00
committed by GitHub
parent 6bba577bf2
commit b3d7a691f6
8 changed files with 152 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(
'clipper_cache_perf',
kClipperCacheRouteName,
pageDelay: const Duration(seconds: 1),
duration: const Duration(seconds: 10),
);
}