testmark

Crates.iotestmark
lib.rstestmark
version0.1.1
sourcesrc
created_at2020-01-06 01:02:56.890832
updated_at2020-01-12 19:48:10.142615
descriptionA benchmark utility for the Rust programming language
homepage
repository
max_upload_size
id195636
size4,236
Daniel Moxon (dcmox)

documentation

README

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();
}
Commit count: 0

cargo fmt