testmark 0.1.1

A benchmark utility for the Rust programming language
Documentation
  • Coverage
  • 0%
    0 out of 9 items documented0 out of 8 items with examples
  • Size
  • Source code size: 3.71 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.24 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • dcmox

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();
}