Heavy Widget construction and destruction performance test (#60336)
* Add widget construction benchmark * Add to device lab
This commit is contained in:
@@ -242,6 +242,14 @@ TaskFunction createImageFilteredTransformAnimationPerfTest() {
|
||||
).run;
|
||||
}
|
||||
|
||||
TaskFunction createsMultiWidgetConstructPerfTest() {
|
||||
return PerfTest(
|
||||
'${flutterDirectory.path}/dev/benchmarks/macrobenchmarks',
|
||||
'test_driver/multi_widget_construction_perf.dart',
|
||||
'multi_widget_construction_perf',
|
||||
).run;
|
||||
}
|
||||
|
||||
/// Measure application startup performance.
|
||||
class StartupTest {
|
||||
const StartupTest(this.testDirectory, { this.reportMetrics = true });
|
||||
|
||||
Reference in New Issue
Block a user