Unverified Commit 34e18d38 authored by liyuqian's avatar liyuqian Committed by GitHub

ios (iPhone6) and iPhone XS tiles_scroll_perf tests (#35556)

For https://github.com/flutter/flutter/issues/31086.

Also test if our mac8 with iPhone XS is working
(https://github.com/flutter/flutter/issues/34590).
parent 39baa099
// Copyright 2016 The Chromium 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/tasks/perf_tests.dart';
import 'package:flutter_devicelab/framework/adb.dart';
import 'package:flutter_devicelab/framework/framework.dart';
Future<void> main() async {
deviceOperatingSystem = DeviceOperatingSystem.ios;
await task(createTilesScrollPerfTest());
}
// Copyright 2016 The Chromium 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/tasks/perf_tests.dart';
import 'package:flutter_devicelab/framework/adb.dart';
import 'package:flutter_devicelab/framework/framework.dart';
Future<void> main() async {
deviceOperatingSystem = DeviceOperatingSystem.ios;
await task(createTilesScrollPerfTest());
}
...@@ -147,6 +147,20 @@ tasks: ...@@ -147,6 +147,20 @@ tasks:
stage: devicelab stage: devicelab
required_agent_capabilities: ["mac/android"] required_agent_capabilities: ["mac/android"]
tiles_scroll_perf_ios__timeline_summary:
description: >
Measures the runtime performance of the tiles tab in the Complex Layout sample app on iPhone 6.
stage: devicelab
flaky: true
required_agent_capabilities: ["mac/ios"]
tiles_scroll_perf_iphonexs__timeline_summary:
description: >
Measures the runtime performance of the tiles tab in the Complex Layout sample app on iPhone XS.
stage: devicelab
flaky: true
required_agent_capabilities: ["mac/iphonexs"]
home_scroll_perf__timeline_summary: home_scroll_perf__timeline_summary:
description: > description: >
Measures the runtime performance of scrolling the material page in the Measures the runtime performance of scrolling the material page in the
...@@ -376,31 +390,31 @@ tasks: ...@@ -376,31 +390,31 @@ tasks:
flavors_test_ios: flavors_test_ios:
description: > description: >
Checks that flavored builds work on iOS. Checks that flavored builds work on iPhone 6.
stage: devicelab_ios stage: devicelab_ios
required_agent_capabilities: ["mac/ios"] required_agent_capabilities: ["mac/ios"]
external_ui_integration_test_ios: external_ui_integration_test_ios:
description: > description: >
Checks that external UIs work on iOS. Checks that external UIs work on iPhone 6.
stage: devicelab_ios stage: devicelab_ios
required_agent_capabilities: ["mac/ios"] required_agent_capabilities: ["mac/ios"]
channels_integration_test_ios: channels_integration_test_ios:
description: > description: >
Checks that platform channels work on iOS. Checks that platform channels work on iPhone 6.
stage: devicelab_ios stage: devicelab_ios
required_agent_capabilities: ["mac/ios"] required_agent_capabilities: ["mac/ios"]
platform_interaction_test_ios: platform_interaction_test_ios:
description: > description: >
Checks platform interaction on iOS. Checks platform interaction on iPhone 6.
stage: devicelab_ios stage: devicelab_ios
required_agent_capabilities: ["mac/ios"] required_agent_capabilities: ["mac/ios"]
platform_channel_sample_test_ios: platform_channel_sample_test_ios:
description: > description: >
Runs a driver test on the Platform Channel sample app on iOS. Runs a driver test on the Platform Channel sample app on iPhone 6.
stage: devicelab_ios stage: devicelab_ios
required_agent_capabilities: ["mac/ios"] required_agent_capabilities: ["mac/ios"]
...@@ -419,13 +433,13 @@ tasks: ...@@ -419,13 +433,13 @@ tasks:
flutter_gallery_ios__start_up: flutter_gallery_ios__start_up:
description: > description: >
Measures the startup time of the Flutter Gallery app on iOS. Measures the startup time of the Flutter Gallery app on iPhone 6.
stage: devicelab_ios stage: devicelab_ios
required_agent_capabilities: ["mac/ios"] required_agent_capabilities: ["mac/ios"]
complex_layout_ios__start_up: complex_layout_ios__start_up:
description: > description: >
Measures the startup time of the Complex Layout sample app on iOS. Measures the startup time of the Complex Layout sample app on iPhone 6.
stage: devicelab_ios stage: devicelab_ios
required_agent_capabilities: ["mac/ios"] required_agent_capabilities: ["mac/ios"]
...@@ -444,7 +458,7 @@ tasks: ...@@ -444,7 +458,7 @@ tasks:
microbenchmarks_ios: microbenchmarks_ios:
description: > description: >
Runs benchmarks from dev/benchmarks/microbenchmarks on iOS. Runs benchmarks from dev/benchmarks/microbenchmarks on iPhone 6.
stage: devicelab_ios stage: devicelab_ios
required_agent_capabilities: ["mac/ios"] required_agent_capabilities: ["mac/ios"]
timeout_in_minutes: 30 timeout_in_minutes: 30
...@@ -457,7 +471,7 @@ tasks: ...@@ -457,7 +471,7 @@ tasks:
integration_ui_ios: integration_ui_ios:
description: > description: >
Runs end-to-end Flutter tests on iOS. Runs end-to-end Flutter tests on iPhone 6.
stage: devicelab_ios stage: devicelab_ios
required_agent_capabilities: ["mac/ios"] required_agent_capabilities: ["mac/ios"]
timeout_in_minutes: 20 timeout_in_minutes: 20
...@@ -581,14 +595,14 @@ tasks: ...@@ -581,14 +595,14 @@ tasks:
flutter_gallery_ios32__start_up: flutter_gallery_ios32__start_up:
description: > description: >
Measures the startup time of the Flutter Gallery app on 32-bit iOS. Measures the startup time of the Flutter Gallery app on 32-bit iOS (iPhone 4S).
stage: devicelab_ios stage: devicelab_ios
required_agent_capabilities: ["mac/ios32"] required_agent_capabilities: ["mac/ios32"]
flutter_gallery_ios32__transition_perf: flutter_gallery_ios32__transition_perf:
description: > description: >
Measures the performance of screen transitions in Flutter Gallery on Measures the performance of screen transitions in Flutter Gallery on
32-bit iOS. 32-bit iOS (iPhone 4S).
stage: devicelab_ios stage: devicelab_ios
required_agent_capabilities: ["mac/ios32"] required_agent_capabilities: ["mac/ios32"]
......
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