Reland "Add a microbenchmark for text intrinsic height layout (#145007)" (#145037)

Add the missing `Directionality` widget and `await test.pump()` call: commit: 0fd7712fa7

Without the `pump` 1s, it sometimes schedules multiple `handleBeginFrame`s and `handleDrawFrame`s.
This commit is contained in:
LongCatIsLooong
2024-03-12 17:52:24 -07:00
committed by GitHub
parent 2fde3ac38b
commit 8270872f86
2 changed files with 68 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,