| Crates.io | chronograf |
| lib.rs | chronograf |
| version | 0.1.1 |
| created_at | 2023-12-30 02:31:16.442251+00 |
| updated_at | 2025-03-01 20:43:10.356951+00 |
| description | A stopwatch. |
| homepage | |
| repository | https://github.com/archer884/chronograf |
| max_upload_size | |
| id | 1083851 |
| size | 11,306 |
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:?}");
}
All conversations and contributions to this project shall adhere to the Code of Conduct.