My focus this morning was Bevy's benchmarks. Benchmarks are how we track performance of the engine over time, and make sure things stay fast and zippy! I've been doing some work refreshing them, and part of that work today was opening https://github.com/bevyengine/bevy/pull/16980!
This pull request migrates all of our imports of criterion::black_box()
to core::hint::black_box()
, which is faster because it uses compiler intrinsics.
For further reading on how black_box()
works: https://doc.rust-lang.org/nightly/std/hint/fn.black_box.html#how-to-use-this
=> More informations about this toot | View the thread | More toots from bd103@hachyderm.io
text/gemini
This content has been proxied by September (3851b).