Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

game_menu example took 93% of cpu #13314

Open
adals opened this issue May 10, 2024 · 6 comments
Open

game_menu example took 93% of cpu #13314

adals opened this issue May 10, 2024 · 6 comments
Labels
A-UI Graphical user interfaces, styles, layouts, and widgets C-Bug An unexpected or incorrect behavior C-Performance A change motivated by improving speed, memory usage or compile times S-Needs-Investigation This issue requires detective work to figure out what's going wrong

Comments

@adals
Copy link

adals commented May 10, 2024

Bevy version

main branch

OS version

Apple M1 Max
macos sonoma 14.4.1 (23E224)

What you did

cargo run --example game_menu

What went wrong

when clicking close it did not respond and it took 5-10 seconds to close and it took 93% of cpu

Screenshot 2024-05-10 at 5 07 07 PM

@adals adals added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels May 10, 2024
@alice-i-cecile
Copy link
Member

What OS are you on?

@alice-i-cecile alice-i-cecile added C-Performance A change motivated by improving speed, memory usage or compile times A-UI Graphical user interfaces, styles, layouts, and widgets S-Needs-Investigation This issue requires detective work to figure out what's going wrong and removed S-Needs-Triage This issue needs to be labelled labels May 10, 2024
@adals
Copy link
Author

adals commented May 10, 2024

What OS are you on?
Apple M1 Max
macos sonoma 14.4.1 (23E224)

@mockersf
Copy link
Member

probably related to #13208

@adals
Copy link
Author

adals commented May 10, 2024

probably related to #13208

FYI even if I did not touch close button it took around 93% of cpu

@JMS55
Copy link
Contributor

JMS55 commented May 10, 2024

Try running in release mode.

@adals
Copy link
Author

adals commented May 10, 2024

Try running in release mode.

it decreased to 50% of cpu and also hang after pressing close button

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-Bug An unexpected or incorrect behavior C-Performance A change motivated by improving speed, memory usage or compile times S-Needs-Investigation This issue requires detective work to figure out what's going wrong
Projects
None yet
Development

No branches or pull requests

4 participants