Skip to content

Conversation

Trashtalk217
Copy link
Contributor

@Trashtalk217 Trashtalk217 commented Jul 19, 2025

Objective

Currently, benchmarks access the world's entities in a very unsafe way, which doesn't hold up if we add more internal entities.

Part of #19711.

Solution

Have the setups return a Vec<Entity> we can iterate over.

Testing

Not needed.

@Trashtalk217 Trashtalk217 added D-Trivial Nice and easy! A great choice to get started with Bevy C-Benchmarks Stress tests and benchmarks used to measure how fast things are labels Jul 19, 2025
@Trashtalk217 Trashtalk217 added C-Code-Quality A section of code that is hard to understand or change S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jul 19, 2025
@mockersf mockersf added this pull request to the merge queue Jul 20, 2025
Merged via the queue into bevyengine:main with commit 6354a95 Jul 20, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Benchmarks Stress tests and benchmarks used to measure how fast things are C-Code-Quality A section of code that is hard to understand or change D-Trivial Nice and easy! A great choice to get started with Bevy S-Needs-Review Needs reviewer attention (from anyone!) to move forward
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants