[devicelab] add drawPoints benchmark (#126728)

Add a benchmark that measures the improvements from https://github.com/flutter/engine/pull/41803
This commit is contained in:
Jonah Williams
2023-05-15 12:14:58 -07:00
committed by GitHub
parent 674b1ad0ae
commit 41abe998ee
8 changed files with 158 additions and 0 deletions

View File

@@ -638,6 +638,19 @@ TaskFunction createAnimatedBlurBackropFilterPerfTest({
).run;
}
TaskFunction createDrawPointsPerfTest({
bool? enableImpeller,
}) {
return PerfTest(
'${flutterDirectory.path}/dev/benchmarks/macrobenchmarks',
'test_driver/run_app.dart',
'draw_points_perf',
enableImpeller: enableImpeller,
testDriver: 'test_driver/draw_points_perf_test.dart',
saveTraceFile: true,
).run;
}
TaskFunction createAnimatedComplexOpacityPerfE2ETest({
bool? enableImpeller,
}) {