Unverified Commit b898d1d2 authored by Brandon DeRosier's avatar Brandon DeRosier Committed by GitHub

[devicelab] Add platform view scroll benchmarks for Impeller on Android (#129455)

For tracking perf improvements with changes like
https://github.com/flutter/engine/pull/43152.
parent 813fc3bb
......@@ -2380,6 +2380,26 @@ targets:
["devicelab", "android", "linux", "samsung", "s10"]
task_name: platform_views_scroll_perf__timeline_summary
- name: Linux_android platform_views_scroll_perf_impeller__timeline_summary
bringup: true
recipe: devicelab/devicelab_drone
presubmit: false
timeout: 60
properties:
tags: >
["devicelab", "android", "linux"]
task_name: platform_views_scroll_perf_impeller__timeline_summary
- name: Linux_samsung_s10 platform_views_scroll_perf_impeller__timeline_summary
bringup: true
recipe: devicelab/devicelab_drone
presubmit: false
timeout: 60
properties:
tags: >
["devicelab", "android", "linux", "samsung", "s10"]
task_name: platform_views_scroll_perf_impeller__timeline_summary
- name: Linux_android platform_view__start_up
recipe: devicelab/devicelab_drone
presubmit: false
......
......@@ -81,6 +81,7 @@
/dev/devicelab/bin/tasks/picture_cache_perf__e2e_summary.dart @zanderso @flutter/engine
/dev/devicelab/bin/tasks/platform_channels_benchmarks.dart @gaaclarke @flutter/engine
/dev/devicelab/bin/tasks/platform_views_scroll_perf__timeline_summary.dart @zanderso @flutter/engine
/dev/devicelab/bin/tasks/platform_views_scroll_perf_impeller__timeline_summary.dart @bdero @flutter/engine
/dev/devicelab/bin/tasks/plugin_dependencies_test.dart @stuartmorgan @flutter/tool
/dev/devicelab/bin/tasks/raster_cache_use_memory_perf__e2e_summary.dart @flar @flutter/engine
/dev/devicelab/bin/tasks/routing_test.dart @zanderso @flutter/tool
......
// 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<void> main() async {
deviceOperatingSystem = DeviceOperatingSystem.android;
await task(createAndroidTextureScrollPerfTest(enableImpeller: true));
}
......@@ -70,12 +70,14 @@ TaskFunction createUiKitViewScrollPerfNonIntersectingTest({bool? enableImpeller}
).run;
}
TaskFunction createAndroidTextureScrollPerfTest() {
TaskFunction createAndroidTextureScrollPerfTest({bool? enableImpeller}) {
return PerfTest(
'${flutterDirectory.path}/dev/benchmarks/platform_views_layout',
'test_driver/android_view_scroll_perf.dart',
'platform_views_scroll_perf',
testDriver: 'test_driver/scroll_perf_test.dart',
needsFullTimeline: false,
enableImpeller: enableImpeller,
).run;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment