expectedBenchmarkMetrics function
List<BenchmarkMetric>
expectedBenchmarkMetrics({
- @Deprecated('This parameter is unused and will be removed in a future release.') bool? useWasm,
The list of expected benchmark metrics for the current compilation mode, as
determined by the value of useWasm.
Implementation
List<BenchmarkMetric> expectedBenchmarkMetrics({
@Deprecated(
'This parameter is unused and will be removed in a future release.',
)
bool? useWasm,
}) {
return <BenchmarkMetric>[
BenchmarkMetric.prerollFrame,
BenchmarkMetric.applyFrame,
BenchmarkMetric.drawFrame,
BenchmarkMetric.flutterFrameTotalTime,
BenchmarkMetric.flutterFrameBuildTime,
BenchmarkMetric.flutterFrameRasterTime,
];
}