From 22520f54dffe55aebda04fcbe73b68ff611fec0e Mon Sep 17 00:00:00 2001 From: Alex Wallen Date: Thu, 19 Jan 2023 13:29:19 -0800 Subject: [PATCH] [macOS] Add timeline summary benchmarks (#118748) * Add new task runner for impeller enabled complex layout test * Add new target in .ci.yaml * Claim ownership of complex_layout_scroll_perf_impeller_macos__timeline_summary * Task runner for non-impeller enabled scroll test * Add test target for non impeller complex layout scroll * claim ownership of the last target * mark as bringup Co-authored-by: a-wallen --- .ci.yaml | 30 +++++++++++++++++++ TESTOWNERS | 2 ++ ...perf_impeller_macos__timeline_summary.dart | 12 ++++++++ ...t_scroll_perf_macos__timeline_summary.dart | 12 ++++++++ 4 files changed, 56 insertions(+) create mode 100644 dev/devicelab/bin/tasks/complex_layout_scroll_perf_impeller_macos__timeline_summary.dart create mode 100644 dev/devicelab/bin/tasks/complex_layout_scroll_perf_macos__timeline_summary.dart diff --git a/.ci.yaml b/.ci.yaml index 1cd05ec7863..b58dcbc71b6 100644 --- a/.ci.yaml +++ b/.ci.yaml @@ -2610,6 +2610,36 @@ targets: ["devicelab", "hostonly", "mac"] task_name: complex_layout_macos__start_up + - name: Mac complex_layout_scroll_perf_impeller_macos__timeline_summary + bringup: true + recipe: devicelab/devicelab_drone + presubmit: false + timeout: 60 + properties: + dependencies: >- + [ + {"dependency": "xcode", "version": "14a5294e"}, + {"dependency": "gems", "version": "v3.3.14"} + ] + tags: > + ["devicelab", "hostonly", "mac"] + task_name: complex_layout_scroll_perf_impeller_macos__timeline_summary + + - name: Mac complex_layout_scroll_perf_macos__timeline_summary + bringup: true + recipe: devicelab/devicelab_drone + presubmit: false + timeout: 60 + properties: + dependencies: >- + [ + {"dependency": "xcode", "version": "14a5294e"}, + {"dependency": "gems", "version": "v3.3.14"} + ] + tags: > + ["devicelab", "hostonly", "mac"] + task_name: complex_layout_scroll_perf_macos__timeline_summary + - name: Mac customer_testing recipe: flutter/flutter timeout: 60 diff --git a/TESTOWNERS b/TESTOWNERS index 4acd16a7b16..37a6425f1bc 100644 --- a/TESTOWNERS +++ b/TESTOWNERS @@ -214,6 +214,8 @@ /dev/devicelab/bin/tasks/channels_integration_test_macos.dart @gaaclarke @flutter/desktop /dev/devicelab/bin/tasks/complex_layout_macos__compile.dart @a-wallen @flutter/desktop /dev/devicelab/bin/tasks/complex_layout_macos__start_up.dart @a-wallen @flutter/desktop +/dev/devicelab/bin/tasks/complex_layout_scroll_perf_impeller_macos__timeline_summary.dart @a-wallen @flutter/desktop +/dev/devicelab/bin/tasks/complex_layout_scroll_perf_macos__timeline_summary.dart @a-wallen @flutter/desktop /dev/devicelab/bin/tasks/complex_layout_win_desktop__compile.dart @yaakovschectman @flutter/desktop /dev/devicelab/bin/tasks/complex_layout_win_desktop__start_up.dart @yaakovschectman @flutter/desktop /dev/devicelab/bin/tasks/dart_plugin_registry_test.dart @stuartmorgan @flutter/plugin diff --git a/dev/devicelab/bin/tasks/complex_layout_scroll_perf_impeller_macos__timeline_summary.dart b/dev/devicelab/bin/tasks/complex_layout_scroll_perf_impeller_macos__timeline_summary.dart new file mode 100644 index 00000000000..8234d508cf3 --- /dev/null +++ b/dev/devicelab/bin/tasks/complex_layout_scroll_perf_impeller_macos__timeline_summary.dart @@ -0,0 +1,12 @@ +// 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:flutter_devicelab/framework/devices.dart'; +import 'package:flutter_devicelab/framework/framework.dart'; +import 'package:flutter_devicelab/tasks/perf_tests.dart'; + +Future main() async { + deviceOperatingSystem = DeviceOperatingSystem.macos; + await task(createComplexLayoutScrollPerfTest(enableImpeller: true)); +} diff --git a/dev/devicelab/bin/tasks/complex_layout_scroll_perf_macos__timeline_summary.dart b/dev/devicelab/bin/tasks/complex_layout_scroll_perf_macos__timeline_summary.dart new file mode 100644 index 00000000000..9f3599b65c7 --- /dev/null +++ b/dev/devicelab/bin/tasks/complex_layout_scroll_perf_macos__timeline_summary.dart @@ -0,0 +1,12 @@ +// 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:flutter_devicelab/framework/devices.dart'; +import 'package:flutter_devicelab/framework/framework.dart'; +import 'package:flutter_devicelab/tasks/perf_tests.dart'; + +Future main() async { + deviceOperatingSystem = DeviceOperatingSystem.macos; + await task(createComplexLayoutScrollPerfTest()); +}