Add a microbenchmark for text intrinsic height layout (#145007)
For https://github.com/flutter/flutter/pull/144577. There's no promise that the performance will be great when `IntrinsicHeight/IntrinsicWidth` is used extensively but it's not that uncommon of a widget.
This commit is contained in:
@@ -74,6 +74,7 @@ TaskFunction createMicrobenchmarkTask({
|
||||
...await runMicrobench('lib/stocks/build_bench.dart'),
|
||||
...await runMicrobench('lib/stocks/layout_bench.dart'),
|
||||
...await runMicrobench('lib/ui/image_bench.dart'),
|
||||
...await runMicrobench('lib/layout/text_intrinsic_bench.dart'),
|
||||
};
|
||||
|
||||
return TaskResult.success(allResults,
|
||||
|
||||
Reference in New Issue
Block a user