[devicelab] add drawPoints benchmark (#126728)

Add a benchmark that measures the improvements from https://github.com/flutter/engine/pull/41803
This commit is contained in:
Jonah Williams
2023-05-15 12:14:58 -07:00
committed by GitHub
parent 674b1ad0ae
commit 41abe998ee
8 changed files with 158 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() {
macroPerfTest(
'draw_points_perf',
kDrawPointsPageRougeName,
pageDelay: const Duration(seconds: 1),
duration: const Duration(seconds: 10),
);
}