Skip to content

many_buttons performance regression #16318

@DGriffin91

Description

@DGriffin91

Bevy version

This regression was introduced in Remove custom rounding (#16097) at 05d9068

The commit just before it: af27907 is faster.

cargo run --release --example many_buttons
Before the #16097 PR: 17.6ms, after: 21.7ms.

Windows 10, 7950x, RTX3060, Vulkan

After the PR (05d9068)
Image

Before the PR (af27907)
Image

vtune with cargo run --profile release-with-debug --example many_buttons

[profile.release-with-debug]
inherits = "release"
debug = true

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-UIGraphical user interfaces, styles, layouts, and widgetsC-ExamplesAn addition or correction to our examplesC-PerformanceA change motivated by improving speed, memory usage or compile timesD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesP-RegressionFunctionality that used to work but no longer does. Add a test for this!S-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions