chronograf

Crates.iochronograf
lib.rschronograf
version0.1.1
created_at2023-12-30 02:31:16.442251+00
updated_at2025-03-01 20:43:10.356951+00
descriptionA stopwatch.
homepage
repositoryhttps://github.com/archer884/chronograf
max_upload_size
id1083851
size11,306
J/A (archer884)

documentation

README

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.

Commit count: 5

cargo fmt