You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disable button labels for the many_buttons stress text by default (#20636)
# Objective
The `many_buttons` benchmark isn't a good measure of UI performance
because it's dominated by the text layout and rendering for the button
labels. The button labels should be disabled by default, we have other
text specific stress tests.
## Solution
1. Rename the `no_text` commandline parameter to `text`. The buttons are
no longer shown by default, to run the example with labels you need to
use:
```
cargo run --example many_buttons --release -- --text
```
2. Add a second button icon image, this is to break up the batches
during rendering without text.
3. Spawn every button with an icon.
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
0 commit comments