This pull request changes the benchmarks to always return the relevant value in Bencher::iter, rather than (). This makes sure that the relevant code isn't optimized away.
Testing Strategy
This pull request was tested by running cargo bench before and after the change. Fortunately, no difference was observed in the benchmarks that we currently have.
Pull Request Overview
This pull request changes the benchmarks to always return the relevant value in
Bencher::iter
, rather than()
. This makes sure that the relevant code isn't optimized away.Testing Strategy
This pull request was tested by running
cargo bench
before and after the change. Fortunately, no difference was observed in the benchmarks that we currently have.Supporting Documentation and References
N/A
TODO or Help Wanted
N/A