A benchmark library.
$ cargo test --release --color=always -q --package bench-rs --test bench --no-fail-fast -- --test-threads=1 --nocapture
Look ./tests/bench.rs
I don't know how to implement the black box.
Please use core::hint::black_box. (unstable)
If you have a better idea, welcome to submit a pull request or open an issue
I am a rust beginner, please correct me if the code is bad. Thank you