bencher
bencher copied to clipboard
bencher is just a port of the libtest (unstable) benchmark runner to Rust stable releases. `cargo bench` on stable. "Not a better bencher!" = No feature development. Go build a better stable benchmark...
In this function you use the unsafe keyword for almost the entrie function body. However, I found that only 1 function is real unsafe operation (see the list below). We...
Hi, this is really awesome to have and use. I have one question, though, if my iteration time is, say 0.5 nanoseconds, will this currently round down that down to...
the current library is outdated, so i thought i'd give it an update, and also learn how rust looked like 5 years ago :)
For example - when we test our TCP Server we should start it only once and then benchmark should only send requests.
`cargo bench` will execute each target with the `--bench` flag. `cargo test`, however, does not pass that flag. The builtin libtest crate takes advantage of that by only running each...
--skip is a new feature in the test runner, very handy.
Hello, I found a soundness issue in this crate. https://github.com/bluss/bencher/blob/8afeeb1ccf7d9f58764a343a0099e140703ad287/lib.rs#L590-L596 [https://doc.rust-lang.org/std/ptr/fn.read_volatile.html](url) The unsafe function called needs to ensure that the parameter must be : - src must be valid for...