2 releases
0.1.1 | Jan 12, 2020 |
---|---|
0.1.0 | Jan 6, 2020 |
#182 in #benchmark
Used in tinystring
4KB
testmark
A benchmark utility for the Rust programming language
Example use
use testmark::Testmark;
use testmark::Timer;
fn main() {
let mut bench: Testmark = Timer::new("Loop test");
bench.start();
let mut x: u64 = 42;
for i in 0..10000000 {
x = x + i;
}
bench.stop();
bench.print();
}