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:
LongCatIsLooong
2024-03-12 13:41:06 -07:00
committed by GitHub
parent eb74e5a497
commit e992023dcd
2 changed files with 63 additions and 0 deletions

View File

@@ -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,