[devicelab] boot up benchmarks. (#132148)
Enable Impeller benchmarks for drawAtlas/drawVertices on iOS/Metal, Android/GLES, and Android/Vulkan. Enable impeller tessellation benchmarks on iOS/Metal and Android/Vulkan - not GLES as this is measuring backend agnostic performance.
This commit is contained in:
@@ -672,6 +672,56 @@ TaskFunction createDrawPointsPerfTest({
|
||||
).run;
|
||||
}
|
||||
|
||||
TaskFunction createDrawAtlasPerfTest({
|
||||
bool? forceOpenGLES,
|
||||
}) {
|
||||
return PerfTest(
|
||||
'${flutterDirectory.path}/dev/benchmarks/macrobenchmarks',
|
||||
'test_driver/run_app.dart',
|
||||
'draw_atlas_perf',
|
||||
enableImpeller: true,
|
||||
testDriver: 'test_driver/draw_atlas_perf.dart',
|
||||
saveTraceFile: true,
|
||||
forceOpenGLES: forceOpenGLES,
|
||||
).run;
|
||||
}
|
||||
|
||||
TaskFunction createDrawVerticesPerfTest({
|
||||
bool? forceOpenGLES,
|
||||
}) {
|
||||
return PerfTest(
|
||||
'${flutterDirectory.path}/dev/benchmarks/macrobenchmarks',
|
||||
'test_driver/run_app.dart',
|
||||
'draw_vertices_perf',
|
||||
enableImpeller: true,
|
||||
testDriver: 'test_driver/draw_vertices_perf_test.dart',
|
||||
saveTraceFile: true,
|
||||
forceOpenGLES: forceOpenGLES,
|
||||
).run;
|
||||
}
|
||||
|
||||
TaskFunction createPathTessellationStaticPerfTest() {
|
||||
return PerfTest(
|
||||
'${flutterDirectory.path}/dev/benchmarks/macrobenchmarks',
|
||||
'test_driver/run_app.dart',
|
||||
'tessellation_perf_static',
|
||||
enableImpeller: true,
|
||||
testDriver: 'test_driver/path_tessellation_static_perf_test.dart',
|
||||
saveTraceFile: true,
|
||||
).run;
|
||||
}
|
||||
|
||||
TaskFunction createPathTessellationDynamicPerfTest() {
|
||||
return PerfTest(
|
||||
'${flutterDirectory.path}/dev/benchmarks/macrobenchmarks',
|
||||
'test_driver/run_app.dart',
|
||||
'tessellation_perf_dynamic',
|
||||
enableImpeller: true,
|
||||
testDriver: 'test_driver/path_tessellation_dynamic_perf_test.dart',
|
||||
saveTraceFile: true,
|
||||
).run;
|
||||
}
|
||||
|
||||
TaskFunction createAnimatedComplexOpacityPerfE2ETest({
|
||||
bool? enableImpeller,
|
||||
}) {
|
||||
|
||||
Reference in New Issue
Block a user