forked from firka/flutter
[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:
@@ -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,
|
||||
}) {
|
||||
|
||||
Reference in New Issue
Block a user