From f0e39349c988445359025effa65b5e4bac680910 Mon Sep 17 00:00:00 2001 From: gaaclarke <30870216+gaaclarke@users.noreply.github.com> Date: Thu, 3 Aug 2023 15:31:06 -0700 Subject: [PATCH] [Impeller] Add animated_blur_backdrop_filter_perf execution on samsung vulkan and opengles (#131864) issue: https://github.com/flutter/flutter/issues/131784 --- .ci.yaml | 22 +++++++++++++++++++ TESTOWNERS | 1 + ...ilter_perf_opengles__timeline_summary.dart | 15 +++++++++++++ dev/devicelab/lib/tasks/perf_tests.dart | 2 ++ 4 files changed, 40 insertions(+) create mode 100644 dev/devicelab/bin/tasks/animated_blur_backdrop_filter_perf_opengles__timeline_summary.dart diff --git a/.ci.yaml b/.ci.yaml index 5405ed69e9..3e60fbbfd0 100644 --- a/.ci.yaml +++ b/.ci.yaml @@ -2600,6 +2600,28 @@ targets: ["devicelab", "android", "linux"] task_name: animated_blur_backdrop_filter_perf__timeline_summary + - name: Linux_samsung_s10 animated_blur_backdrop_filter_perf__timeline_summary + recipe: devicelab/devicelab_drone + presubmit: false + bringup: true + timeout: 60 + properties: + ignore_flakiness: "true" + tags: > + ["devicelab", "android", "linux", "samsung", "s10"] + task_name: animated_blur_backdrop_filter_perf__timeline_summary + + - name: Linux_samsung_s10 animated_blur_backdrop_filter_perf_opengles__timeline_summary + recipe: devicelab/devicelab_drone + presubmit: false + bringup: true + timeout: 60 + properties: + ignore_flakiness: "true" + tags: > + ["devicelab", "android", "linux", "samsung", "s10"] + task_name: animated_blur_backdrop_filter_perf_opengles__timeline_summary + - name: Staging_build_linux analyze presubmit: false bringup: true diff --git a/TESTOWNERS b/TESTOWNERS index 79d161f98c..cb1a439ef9 100644 --- a/TESTOWNERS +++ b/TESTOWNERS @@ -92,6 +92,7 @@ /dev/devicelab/bin/tasks/web_size__compile_test.dart @yjbanov @flutter/web /dev/devicelab/bin/tasks/wide_gamut_ios.dart @gaaclarke @flutter/engine /dev/devicelab/bin/tasks/animated_blur_backdrop_filter_perf__timeline_summary.dart @jonahwilliams @flutter/engine +/dev/devicelab/bin/tasks/animated_blur_backdrop_filter_perf_opengles__timeline_summary.dart @gaaclarke @flutter/engine /dev/devicelab/bin/tasks/slider_perf_android.dart @tahatesser @flutter/framework ## Windows Android DeviceLab tests diff --git a/dev/devicelab/bin/tasks/animated_blur_backdrop_filter_perf_opengles__timeline_summary.dart b/dev/devicelab/bin/tasks/animated_blur_backdrop_filter_perf_opengles__timeline_summary.dart new file mode 100644 index 0000000000..83e4c6d054 --- /dev/null +++ b/dev/devicelab/bin/tasks/animated_blur_backdrop_filter_perf_opengles__timeline_summary.dart @@ -0,0 +1,15 @@ +// 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 main() async { + deviceOperatingSystem = DeviceOperatingSystem.android; + await task(createAnimatedBlurBackropFilterPerfTest( + enableImpeller: true, forceOpenGLES: true)); +} diff --git a/dev/devicelab/lib/tasks/perf_tests.dart b/dev/devicelab/lib/tasks/perf_tests.dart index 2d36b93615..680dfc2fb3 100644 --- a/dev/devicelab/lib/tasks/perf_tests.dart +++ b/dev/devicelab/lib/tasks/perf_tests.dart @@ -630,12 +630,14 @@ TaskFunction createGradientStaticPerfE2ETest() { TaskFunction createAnimatedBlurBackropFilterPerfTest({ bool? enableImpeller, + bool? forceOpenGLES, }) { return PerfTest( '${flutterDirectory.path}/dev/benchmarks/macrobenchmarks', 'test_driver/run_app.dart', 'animated_blur_backdrop_filter_perf', enableImpeller: enableImpeller, + forceOpenGLES: forceOpenGLES, testDriver: 'test_driver/animated_blur_backdrop_filter_perf_test.dart', saveTraceFile: true, ).run;