Benchmarks: Use std::hint::black_box()
instead of criterion::black_box()
#2121
Labels
new
newly created issue
We can use the native
black_box()
function from rust since it's moved to stable since Rust version 1.66Currently we are using the
black_box()
function from the crate 'criterion` which made as a workaround until the native function is stabilize.The current implementation in master branch in
criterion
has already marked their function as deprecated for further releases linkWe still need to consider what changes we can introduce to the mocks with this function to make the benchmarks more stable if possible
The text was updated successfully, but these errors were encountered: