[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,14 @@
// 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 'dart:async';
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.ios;
await task(createDrawPointsPerfTest());
}