bevy/examples/stress_tests
François e0e5f3acd4
add a default font (#8445)
# Objective

- Have a default font

## Solution

- Add a font based on FiraMono containing only ASCII characters and use
it as the default font
- It is behind a feature `default_font` enabled by default
- I also updated examples to use it, but not UI examples to still show
how to use a custom font

---

## Changelog

* If you display text without using the default handle provided by
`TextStyle`, the text will be displayed
2023-04-21 22:30:18 +00:00
..
bevymark.rs add a default font (#8445) 2023-04-21 22:30:18 +00:00
many_animated_sprites.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
many_buttons.rs add a default font (#8445) 2023-04-21 22:30:18 +00:00
many_cubes.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
many_foxes.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
many_gizmos.rs add a default font (#8445) 2023-04-21 22:30:18 +00:00
many_glyphs.rs add a default font (#8445) 2023-04-21 22:30:18 +00:00
many_lights.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
many_sprites.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
README.md Add a stress test profile (#6901) 2022-12-20 15:59:41 +00:00
text_pipeline.rs Changed spelling linebreak_behaviour to linebreak_behavior (#8285) 2023-04-05 21:25:53 +00:00
transform_hierarchy.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
warning_string.txt Added performance warning when running stress test examples in debug mode (#5029) 2022-07-13 19:13:46 +00:00

Stress tests

These examples are used to stress test Bevy's performance in various ways. These should be run with the "stress-test" profile to accurately represent performance in production, otherwise they will run in cargo's default "dev" profile which is very slow.

Example Command

cargo run --profile stress-test --example <EXAMPLE>