Closed cervera-queiroz closed 1 month ago
If anyone is interested, I added the code below to the Cargo.toml and got a decent performance:
[profile.ci.package."*"] opt-level = 0
[profile.dev.package."*"] opt-level = 3
[profile.release] debug = true lto = "thin"
Also, I had issues with my power supply, but after replacing it it sorted the issue completely.
Thanks
Hi there,
I have Macbook M1 and currently playing with Truck. I've noticed a really slow performance when running the native Truck examples. Everything compiles well but when the window open, let say with "cargo run --example rotate-object" I have a very laggy update on the animation that normalises only after around 10 seconds. If I minimise and open the window, it happens again. The same happens with more basic examples like "simple-obj-viewer" and it lags even when I try to close the window.
I've tried compiling using the --profile release but experience the same behaviour.
Could anyone help me on how to debug and improve performance? I've played around with Bevy and even the bevy plugin version for Truck called bevy_pmetra (awesome by the way) and haven't had any performance issues so not sure what's causing the issue.
Thanks