Skip to content

Migrate benches/bevy_scene/spawn.rs to use ui_widgets::Button (Extra Item 5) - #25194

Merged
alice-i-cecile merged 1 commit into
bevyengine:mainfrom
kfc35:24112_bevy_scene_button
Jul 28, 2026
Merged

Migrate benches/bevy_scene/spawn.rs to use ui_widgets::Button (Extra Item 5)#25194
alice-i-cecile merged 1 commit into
bevyengine:mainfrom
kfc35:24112_bevy_scene_button

Conversation

@kfc35

@kfc35 kfc35 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Objective

Solution

  • The bevy_scene bench was still using the old to-be-deprecated button. Just changed the import (had to add ui_widgets as a dependency).

Testing

  • I ran cargo bench -p benches --bench scene between both this branch and main and “no change in performance was detected” between the two for the ui scenes.

@kfc35 kfc35 added A-UI Graphical user interfaces, styles, layouts, and widgets C-Benchmarks Stress tests and benchmarks used to measure how fast things are D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jul 27, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in UI Jul 27, 2026
@kfc35
kfc35 requested a review from viridia July 27, 2026 23:19
@kfc35
kfc35 requested a review from taearls July 27, 2026 23:59
@alice-i-cecile alice-i-cecile added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jul 28, 2026
@alice-i-cecile
alice-i-cecile added this pull request to the merge queue Jul 28, 2026
Merged via the queue into bevyengine:main with commit f5d6382 Jul 28, 2026
53 checks passed
@github-project-automation github-project-automation Bot moved this from Needs SME Triage to Done in UI Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-UI Graphical user interfaces, styles, layouts, and widgets C-Benchmarks Stress tests and benchmarks used to measure how fast things are D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants