SIGN IN SIGN UP

Optimize Text Benchmark Cache and Draw Tests

Reduce redundant runs for cached and drawing text benchmarks by separating them into non-parameterized classes and pruning parameter dimensions.

- Prune length parameters in TextMeasurerBenchmark (no-cache) to 32 and 512.
- Move text_measurer_cached to TextMeasurerCacheBenchmark (non-parameterized).
- Move drawText_TextLayoutResult tests to TextDrawBenchmark (non-parameterized).
- Remove parameterization from PlatformFontLookup entirely, running it only for FontFamily.Default and FontWeight.Normal.

Test: ./gradlew :compose:ui:ui-text:ui-text-benchmark:assembleAndroidTest
Fixes: 540060947
TAG=agy
CONV=06d13d1e-480e-4504-87f5-a59c15c83248

Change-Id: I148181b916d878696b2acd02e8cd76b77e3625f7
S
Sean McQuillan committed
1754900049f7e1d1dc8d93ee2b8fdba1ec52a6a5
Parent: 9af7060