Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
50f83fc2
Unverified
Commit
50f83fc2
authored
Apr 28, 2023
by
Zachary Anderson
Committed by
GitHub
Apr 28, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add back one Skia test on iOS (#125663)
Fixes
https://github.com/flutter/flutter/issues/125648
parent
888b208d
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
44 additions
and
182 deletions
+44
-182
.ci.yaml
.ci.yaml
+10
-0
TESTOWNERS
TESTOWNERS
+1
-1
animated_complex_opacity_perf_impeller_ios__e2e_summary.dart
...mated_complex_opacity_perf_impeller_ios__e2e_summary.dart
+0
-14
backdrop_filter_perf_impeller_ios__timeline_summary.dart
.../backdrop_filter_perf_impeller_ios__timeline_summary.dart
+0
-12
color_filter_and_fade_perf_impeller_ios__e2e_summary.dart
...color_filter_and_fade_perf_impeller_ios__e2e_summary.dart
+0
-14
complex_layout_scroll_perf_bad_impeller_ios__timeline_summary.dart
...ayout_scroll_perf_bad_impeller_ios__timeline_summary.dart
+0
-12
complex_layout_scroll_perf_impeller_ios__timeline_summary.dart
...ex_layout_scroll_perf_impeller_ios__timeline_summary.dart
+0
-12
flutter_gallery__transition_perf_e2e_impeller_ios.dart
...ks/flutter_gallery__transition_perf_e2e_impeller_ios.dart
+0
-12
fullscreen_textfield_perf_impeller_ios__e2e_summary.dart
.../fullscreen_textfield_perf_impeller_ios__e2e_summary.dart
+0
-14
imagefiltered_transform_animation_perf_impeller_ios__timeline_summary.dart
...nsform_animation_perf_impeller_ios__timeline_summary.dart
+0
-12
microbenchmarks_impeller_ios.dart
dev/devicelab/bin/tasks/microbenchmarks_impeller_ios.dart
+0
-13
new_gallery_skia_ios__transition_perf.dart
...elab/bin/tasks/new_gallery_skia_ios__transition_perf.dart
+1
-1
platform_views_scroll_perf_impeller_ios__timeline_summary.dart
...orm_views_scroll_perf_impeller_ios__timeline_summary.dart
+0
-12
simple_animation_perf_impeller_ios.dart
...vicelab/bin/tasks/simple_animation_perf_impeller_ios.dart
+0
-12
tiles_scroll_perf_impeller_ios__timeline_summary.dart
...sks/tiles_scroll_perf_impeller_ios__timeline_summary.dart
+0
-12
gallery.dart
dev/devicelab/lib/tasks/gallery.dart
+10
-8
microbenchmarks.dart
dev/devicelab/lib/tasks/microbenchmarks.dart
+3
-2
new_gallery.dart
dev/devicelab/lib/tasks/new_gallery.dart
+1
-2
perf_tests.dart
dev/devicelab/lib/tasks/perf_tests.dart
+18
-17
No files found.
.ci.yaml
View file @
50f83fc2
...
...
@@ -3812,6 +3812,16 @@ targets:
["devicelab", "ios", "mac"]
task_name
:
new_gallery_ios__transition_perf
-
name
:
Mac_ios new_gallery_skia_ios__transition_perf
bringup
:
true
recipe
:
devicelab/devicelab_drone
presubmit
:
false
timeout
:
60
properties
:
tags
:
>
["devicelab", "ios", "mac"]
task_name
:
new_gallery_skia_ios__transition_perf
-
name
:
Mac_ios ios_picture_cache_complexity_scoring_perf__timeline_summary
recipe
:
devicelab/devicelab_drone
presubmit
:
false
...
...
TESTOWNERS
View file @
50f83fc2
...
...
@@ -145,7 +145,6 @@
/dev/devicelab/bin/tasks/tiles_scroll_perf__timeline_summary.dart @zanderso @flutter/engine
## Mac iOS DeviceLab tests
/dev/devicelab/bin/tasks/animated_complex_opacity_perf_impeller_ios__e2e_summary.dart @cyanglaz @flutter/engine
/dev/devicelab/bin/tasks/animated_complex_opacity_perf_ios__e2e_summary.dart @cyanglaz @flutter/engine
/dev/devicelab/bin/tasks/animation_with_microtasks_perf_ios__timeline_summary.dart @iskakaushik @flutter/engine
/dev/devicelab/bin/tasks/backdrop_filter_perf_ios__timeline_summary.dart @cyanglaz @flutter/engine
...
...
@@ -187,6 +186,7 @@
/dev/devicelab/bin/tasks/microbenchmarks_ios.dart @cyanglaz @flutter/engine
/dev/devicelab/bin/tasks/native_platform_view_ui_tests_ios.dart @hellohuanlin @flutter/ios
/dev/devicelab/bin/tasks/new_gallery_ios__transition_perf.dart @zanderso @flutter/engine
/dev/devicelab/bin/tasks/new_gallery_skia_ios__transition_perf.dart @zanderso @flutter/engine
/dev/devicelab/bin/tasks/platform_channel_sample_test_ios.dart @cyanglaz @flutter/engine
/dev/devicelab/bin/tasks/platform_channel_sample_test_swift.dart @cyanglaz @flutter/engine
/dev/devicelab/bin/tasks/platform_channels_benchmarks_ios.dart @gaaclarke @flutter/engine
...
...
dev/devicelab/bin/tasks/animated_complex_opacity_perf_impeller_ios__e2e_summary.dart
deleted
100644 → 0
View file @
888b208d
// 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
(
createAnimatedComplexOpacityPerfE2ETest
(
enableImpeller:
true
));
}
dev/devicelab/bin/tasks/backdrop_filter_perf_impeller_ios__timeline_summary.dart
deleted
100644 → 0
View file @
888b208d
// 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
.
ios
;
await
task
(
createBackdropFilterPerfTest
(
enableImpeller:
true
));
}
dev/devicelab/bin/tasks/color_filter_and_fade_perf_impeller_ios__e2e_summary.dart
deleted
100644 → 0
View file @
888b208d
// 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
(
createColorFilterAndFadePerfE2ETest
(
enableImpeller:
true
));
}
dev/devicelab/bin/tasks/complex_layout_scroll_perf_bad_impeller_ios__timeline_summary.dart
deleted
100644 → 0
View file @
888b208d
// 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
.
ios
;
await
task
(
createComplexLayoutScrollPerfTest
(
badScroll:
true
,
enableImpeller:
true
));
}
dev/devicelab/bin/tasks/complex_layout_scroll_perf_impeller_ios__timeline_summary.dart
deleted
100644 → 0
View file @
888b208d
// 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
.
ios
;
await
task
(
createComplexLayoutScrollPerfTest
(
enableImpeller:
true
));
}
dev/devicelab/bin/tasks/flutter_gallery__transition_perf_e2e_impeller_ios.dart
deleted
100644 → 0
View file @
888b208d
// 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/gallery.dart'
;
Future
<
void
>
main
()
async
{
deviceOperatingSystem
=
DeviceOperatingSystem
.
ios
;
await
task
(
createGalleryTransitionE2ETest
(
enableImpeller:
true
));
}
dev/devicelab/bin/tasks/fullscreen_textfield_perf_impeller_ios__e2e_summary.dart
deleted
100644 → 0
View file @
888b208d
// 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
(
createFullscreenTextfieldPerfE2ETest
(
enableImpeller:
true
));
}
dev/devicelab/bin/tasks/imagefiltered_transform_animation_perf_impeller_ios__timeline_summary.dart
deleted
100644 → 0
View file @
888b208d
// 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
.
ios
;
await
task
(
createImageFilteredTransformAnimationPerfTest
(
enableImpeller:
true
));
}
dev/devicelab/bin/tasks/microbenchmarks_impeller_ios.dart
deleted
100644 → 0
View file @
888b208d
// 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/microbenchmarks.dart'
;
/// Runs microbenchmarks on iOS.
Future
<
void
>
main
()
async
{
deviceOperatingSystem
=
DeviceOperatingSystem
.
ios
;
await
task
(
createMicrobenchmarkTask
(
enableImpeller:
true
));
}
dev/devicelab/bin/tasks/new_gallery_
impeller
_ios__transition_perf.dart
→
dev/devicelab/bin/tasks/new_gallery_
skia
_ios__transition_perf.dart
View file @
50f83fc2
...
...
@@ -17,7 +17,7 @@ Future<void> main() async {
final
Directory
galleryDir
=
Directory
(
path
.
join
(
galleryParentDir
.
path
,
'gallery'
));
try
{
await
task
(
NewGalleryPerfTest
(
galleryDir
,
enableImpeller:
tru
e
).
run
);
await
task
(
NewGalleryPerfTest
(
galleryDir
,
enableImpeller:
fals
e
).
run
);
}
finally
{
rmTree
(
galleryParentDir
);
}
...
...
dev/devicelab/bin/tasks/platform_views_scroll_perf_impeller_ios__timeline_summary.dart
deleted
100644 → 0
View file @
888b208d
// 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
.
ios
;
await
task
(
createUiKitViewScrollPerfTest
(
enableImpeller:
true
));
}
dev/devicelab/bin/tasks/simple_animation_perf_impeller_ios.dart
deleted
100644 → 0
View file @
888b208d
// 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
.
ios
;
await
task
(
createSimpleAnimationPerfTest
(
enableImpeller:
true
));
}
dev/devicelab/bin/tasks/tiles_scroll_perf_impeller_ios__timeline_summary.dart
deleted
100644 → 0
View file @
888b208d
// 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
.
ios
;
await
task
(
createTilesScrollPerfTest
(
enableImpeller:
true
));
}
dev/devicelab/lib/tasks/gallery.dart
View file @
50f83fc2
...
...
@@ -28,7 +28,7 @@ TaskFunction createGalleryTransitionTest({bool semanticsEnabled = false}) {
TaskFunction
createGalleryTransitionE2EBuildTest
(
List
<
String
>
args
,
{
bool
semanticsEnabled
=
false
,
bool
enableImpeller
=
false
,
bool
?
enableImpeller
,
})
{
return
GalleryTransitionBuildTest
(
args
,
...
...
@@ -44,7 +44,7 @@ TaskFunction createGalleryTransitionE2EBuildTest(
TaskFunction
createGalleryTransitionE2ETest
(
{
bool
semanticsEnabled
=
false
,
bool
enableImpeller
=
false
,
bool
?
enableImpeller
,
})
{
return
GalleryTransitionTest
(
testFile:
semanticsEnabled
...
...
@@ -91,14 +91,14 @@ class GalleryTransitionTest {
this
.
driverFile
,
this
.
measureCpuGpu
=
true
,
this
.
measureMemory
=
true
,
this
.
enableImpeller
=
false
,
this
.
enableImpeller
,
});
final
bool
semanticsEnabled
;
final
bool
needFullTimeline
;
final
bool
measureCpuGpu
;
final
bool
measureMemory
;
final
bool
enableImpeller
;
final
bool
?
enableImpeller
;
final
String
testFile
;
final
String
timelineSummaryFile
;
final
String
?
timelineTraceFile
;
...
...
@@ -136,7 +136,8 @@ class GalleryTransitionTest {
await
flutter
(
'drive'
,
options:
<
String
>[
'--no-dds'
,
'--profile'
,
if
(
enableImpeller
)
'--enable-impeller'
,
if
(
enableImpeller
!=
null
&&
enableImpeller
!)
'--enable-impeller'
,
if
(
enableImpeller
!=
null
&&
!
enableImpeller
!)
'--no-enable-impeller'
,
if
(
needFullTimeline
)
'--trace-startup'
,
if
(
applicationBinaryPath
!=
null
)
...
...
@@ -235,14 +236,14 @@ class GalleryTransitionBuildTest extends BuildTestTask {
this
.
driverFile
,
this
.
measureCpuGpu
=
true
,
this
.
measureMemory
=
true
,
this
.
enableImpeller
=
false
,
this
.
enableImpeller
,
})
:
super
(
workingDirectory:
galleryDirectory
);
final
bool
semanticsEnabled
;
final
bool
needFullTimeline
;
final
bool
measureCpuGpu
;
final
bool
measureMemory
;
final
bool
enableImpeller
;
final
bool
?
enableImpeller
;
final
String
testFile
;
final
String
timelineSummaryFile
;
final
String
?
timelineTraceFile
;
...
...
@@ -280,7 +281,8 @@ class GalleryTransitionBuildTest extends BuildTestTask {
return
<
String
>[
'--no-dds'
,
'--profile'
,
if
(
enableImpeller
)
'--enable-impeller'
,
if
(
enableImpeller
!=
null
&&
enableImpeller
!)
'--enable-impeller'
,
if
(
enableImpeller
!=
null
&&
!
enableImpeller
!)
'--no-enable-impeller'
,
if
(
needFullTimeline
)
'--trace-startup'
,
'-t'
,
'test_driver/
$testFile
.dart'
,
...
...
dev/devicelab/lib/tasks/microbenchmarks.dart
View file @
50f83fc2
...
...
@@ -15,7 +15,7 @@ import '../microbenchmarks.dart';
/// Creates a device lab task that runs benchmarks in
/// `dev/benchmarks/microbenchmarks` reports results to the dashboard.
TaskFunction
createMicrobenchmarkTask
(
{
bool
enableImpeller
=
false
})
{
TaskFunction
createMicrobenchmarkTask
(
{
bool
?
enableImpeller
})
{
return
()
async
{
final
Device
device
=
await
devices
.
workingDevice
;
await
device
.
unlock
();
...
...
@@ -32,7 +32,8 @@ TaskFunction createMicrobenchmarkTask({bool enableImpeller = false}) {
// --release doesn't work on iOS due to code signing issues
'--profile'
,
'--no-publish-port'
,
if
(
enableImpeller
)
'--enable-impeller'
,
if
(
enableImpeller
!=
null
&&
enableImpeller
)
'--enable-impeller'
,
if
(
enableImpeller
!=
null
&&
!
enableImpeller
)
'--no-enable-impeller'
,
'-d'
,
device
.
deviceId
,
];
...
...
dev/devicelab/lib/tasks/new_gallery.dart
View file @
50f83fc2
...
...
@@ -14,14 +14,13 @@ class NewGalleryPerfTest extends PerfTest {
this
.
galleryDir
,
{
String
timelineFileName
=
'transitions'
,
String
dartDefine
=
''
,
bool
enableImpeller
=
false
,
super
.
enableImpeller
,
super
.
timeoutSeconds
,
})
:
super
(
galleryDir
.
path
,
'test_driver/transitions_perf.dart'
,
timelineFileName
,
dartDefine:
dartDefine
,
enableImpeller:
enableImpeller
,
);
@override
...
...
dev/devicelab/lib/tasks/perf_tests.dart
View file @
50f83fc2
...
...
@@ -26,7 +26,7 @@ String _testOutputDirectory(String testDirectory) {
TaskFunction
createComplexLayoutScrollPerfTest
(
{
bool
measureCpuGpu
=
true
,
bool
badScroll
=
false
,
bool
enableImpeller
=
false
,
bool
?
enableImpeller
,
})
{
return
PerfTest
(
'
${flutterDirectory.path}
/dev/benchmarks/complex_layout'
,
...
...
@@ -39,7 +39,7 @@ TaskFunction createComplexLayoutScrollPerfTest({
).
run
;
}
TaskFunction
createTilesScrollPerfTest
(
{
bool
enableImpeller
=
false
})
{
TaskFunction
createTilesScrollPerfTest
(
{
bool
?
enableImpeller
})
{
return
PerfTest
(
'
${flutterDirectory.path}
/dev/benchmarks/complex_layout'
,
'test_driver/scroll_perf.dart'
,
...
...
@@ -48,7 +48,7 @@ TaskFunction createTilesScrollPerfTest({bool enableImpeller = false}) {
).
run
;
}
TaskFunction
createUiKitViewScrollPerfTest
(
{
bool
enableImpeller
=
false
})
{
TaskFunction
createUiKitViewScrollPerfTest
(
{
bool
?
enableImpeller
})
{
return
PerfTest
(
'
${flutterDirectory.path}
/dev/benchmarks/platform_views_layout'
,
'test_driver/uikit_view_scroll_perf.dart'
,
...
...
@@ -59,7 +59,7 @@ TaskFunction createUiKitViewScrollPerfTest({bool enableImpeller = false}) {
).
run
;
}
TaskFunction
createUiKitViewScrollPerfNonIntersectingTest
(
{
bool
enableImpeller
=
false
})
{
TaskFunction
createUiKitViewScrollPerfNonIntersectingTest
(
{
bool
?
enableImpeller
})
{
return
PerfTest
(
'
${flutterDirectory.path}
/dev/benchmarks/platform_views_layout'
,
'test_driver/uikit_view_scroll_perf_non_intersecting.dart'
,
...
...
@@ -130,7 +130,7 @@ TaskFunction createCubicBezierPerfE2ETest() {
TaskFunction
createBackdropFilterPerfTest
(
{
bool
measureCpuGpu
=
true
,
bool
enableImpeller
=
false
,
bool
?
enableImpeller
,
})
{
return
PerfTest
(
'
${flutterDirectory.path}
/dev/benchmarks/macrobenchmarks'
,
...
...
@@ -174,7 +174,7 @@ TaskFunction createPostBackdropFilterPerfTest({bool measureCpuGpu = true}) {
TaskFunction
createSimpleAnimationPerfTest
(
{
bool
measureCpuGpu
=
true
,
bool
enableImpeller
=
false
,
bool
?
enableImpeller
,
})
{
return
PerfTest
(
'
${flutterDirectory.path}
/dev/benchmarks/macrobenchmarks'
,
...
...
@@ -364,7 +364,7 @@ TaskFunction createFullscreenTextfieldPerfTest() {
}
TaskFunction
createFullscreenTextfieldPerfE2ETest
(
{
bool
enableImpeller
=
false
,
bool
?
enableImpeller
,
})
{
return
PerfTest
.
e2e
(
'
${flutterDirectory.path}
/dev/benchmarks/macrobenchmarks'
,
...
...
@@ -390,7 +390,7 @@ TaskFunction createColorFilterAndFadePerfTest() {
).
run
;
}
TaskFunction
createColorFilterAndFadePerfE2ETest
(
{
bool
enableImpeller
=
false
})
{
TaskFunction
createColorFilterAndFadePerfE2ETest
(
{
bool
?
enableImpeller
})
{
return
PerfTest
.
e2e
(
'
${flutterDirectory.path}
/dev/benchmarks/macrobenchmarks'
,
'test/color_filter_and_fade_perf_e2e.dart'
,
...
...
@@ -437,7 +437,7 @@ TaskFunction createFadingChildAnimationPerfTest() {
}
TaskFunction
createImageFilteredTransformAnimationPerfTest
(
{
bool
enableImpeller
=
false
,
bool
?
enableImpeller
,
})
{
return
PerfTest
(
'
${flutterDirectory.path}
/dev/benchmarks/macrobenchmarks'
,
...
...
@@ -456,7 +456,7 @@ TaskFunction createsMultiWidgetConstructPerfE2ETest() {
).
run
;
}
TaskFunction
createListTextLayoutPerfE2ETest
(
{
bool
enableImpeller
=
false
})
{
TaskFunction
createListTextLayoutPerfE2ETest
(
{
bool
?
enableImpeller
})
{
return
PerfTest
.
e2e
(
'
${flutterDirectory.path}
/dev/benchmarks/macrobenchmarks'
,
'test/list_text_layout_perf_e2e.dart'
,
...
...
@@ -630,7 +630,7 @@ TaskFunction createGradientStaticPerfE2ETest() {
}
TaskFunction
createAnimatedBlurBackropFilterPerfTest
(
{
bool
enableImpeller
=
false
,
bool
?
enableImpeller
,
})
{
return
PerfTest
(
'
${flutterDirectory.path}
/dev/benchmarks/macrobenchmarks'
,
...
...
@@ -643,7 +643,7 @@ TaskFunction createAnimatedBlurBackropFilterPerfTest({
}
TaskFunction
createAnimatedComplexOpacityPerfE2ETest
(
{
bool
enableImpeller
=
false
,
bool
?
enableImpeller
,
})
{
return
PerfTest
.
e2e
(
'
${flutterDirectory.path}
/dev/benchmarks/macrobenchmarks'
,
...
...
@@ -653,7 +653,7 @@ TaskFunction createAnimatedComplexOpacityPerfE2ETest({
}
TaskFunction
createAnimatedComplexImageFilteredPerfE2ETest
(
{
bool
enableImpeller
=
false
,
bool
?
enableImpeller
,
})
{
return
PerfTest
.
e2e
(
'
${flutterDirectory.path}
/dev/benchmarks/macrobenchmarks'
,
...
...
@@ -944,8 +944,8 @@ class PerfTest {
String
?
resultFilename
,
this
.
device
,
this
.
flutterDriveCallback
,
this
.
enableImpeller
=
false
,
this
.
timeoutSeconds
,
this
.
enableImpeller
,
}):
_resultFilename
=
resultFilename
;
const
PerfTest
.
e2e
(
...
...
@@ -960,8 +960,8 @@ class PerfTest {
String
resultFilename
=
'e2e_perf_summary'
,
this
.
device
,
this
.
flutterDriveCallback
,
this
.
enableImpeller
=
false
,
this
.
timeoutSeconds
,
this
.
enableImpeller
,
})
:
saveTraceFile
=
false
,
timelineFileName
=
null
,
_resultFilename
=
resultFilename
;
/// The directory where the app under test is defined.
...
...
@@ -994,7 +994,7 @@ class PerfTest {
final
FlutterDriveCallback
?
flutterDriveCallback
;
/// Whether the perf test should enable Impeller.
final
bool
enableImpeller
;
final
bool
?
enableImpeller
;
/// Number of seconds to time out the test after, allowing debug callbacks to run.
final
int
?
timeoutSeconds
;
...
...
@@ -1068,7 +1068,8 @@ class PerfTest {
...<
String
>[
'--use-existing-app'
,
existingApp
],
if
(
dartDefine
.
isNotEmpty
)
...<
String
>[
'--dart-define'
,
dartDefine
],
if
(
enableImpeller
)
'--enable-impeller'
,
if
(
enableImpeller
!=
null
&&
enableImpeller
!)
'--enable-impeller'
,
if
(
enableImpeller
!=
null
&&
!
enableImpeller
!)
'--no-enable-impeller'
,
'-d'
,
deviceId
,
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment