bevy icon indicating copy to clipboard operation
bevy copied to clipboard

game_menu example took 93% of cpu

Open adals opened this issue 1 year ago • 6 comments
trafficstars

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 avatar May 10 '24 14:05 adals

What OS are you on?

alice-i-cecile avatar May 10 '24 14:05 alice-i-cecile

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

adals avatar May 10 '24 14:05 adals

probably related to https://github.com/bevyengine/bevy/issues/13208

mockersf avatar May 10 '24 14:05 mockersf

probably related to #13208

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

adals avatar May 10 '24 16:05 adals

Try running in release mode.

JMS55 avatar May 10 '24 16:05 JMS55

Try running in release mode.

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

adals avatar May 10 '24 17:05 adals

FYI hello-triangle wgpu example. maybe it could help

Screenshot 2024-06-07 at 5 23 47 PM

adals avatar Jun 07 '24 14:06 adals

Closing as a duplicate of #10261. That was very helpful :)

alice-i-cecile avatar Jun 07 '24 20:06 alice-i-cecile