| 82 | builder.append("Hello World 😀😃😄! We like emojis here 😍😍😍.", |
| 83 | font, |
| 84 | TextLayoutLineHeight::multiple(1.0f), |
| 85 | 0.0f, |
| 86 | TextDecorationNone); |
| 87 | |
| 88 | benchmark::DoNotOptimize(builder.build()); |
| 89 | }); |
| 90 | } |
| 91 | |
| 92 | static void TextLayoutArabicText(benchmark::State& state) { |
| 93 | doBenchmark(state, [&](const auto& fontManager) { |
| 94 | auto font = fontManager->getDefaultFont().moveValue(); |
| 95 | |
| 96 | TextLayoutBuilder builder( |
| 97 | TextAlignLeft, TextOverflowEllipsis, Size::make(5000, 5000), 1, fontManager, false, 1.0f); |
nothing calls this directly
no test coverage detected