chronograf 0.1.1

A stopwatch.
Documentation
  • Coverage
  • 41.67%
    5 out of 12 items documented0 out of 11 items with examples
  • Size
  • Source code size: 10.83 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.68 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 16s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • archer884/chronograf
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • archer884

Chronograf

A stopwatch library. Yeah, there are a thousand, and there's something I hate about all of them.

fn main() {
    let sw = chronograf::start();
    let sum: u64 = (0..=1_000_000).filter(|&n| is_prime(n)).sum();
    let elapsed = sw.finish();
    println!("{sum} / {elapsed:?}");
}

Code of Conduct

All conversations and contributions to this project shall adhere to the Code of Conduct.