| Crates.io | laptimer |
| lib.rs | laptimer |
| version | 0.1.0 |
| created_at | 2021-12-20 01:54:43.688888+00 |
| updated_at | 2021-12-20 01:54:43.688888+00 |
| description | Simple crate to print the time spent between different points in a program. |
| homepage | |
| repository | https://github.com/fintelia/laptimer |
| max_upload_size | |
| id | 500556 |
| size | 2,553 |
A simple Rust crate to print the time between different points in a program:
laptimer::print!();
// do some work...
laptimer::print!();
Which produces output like:
[ 0.000ms] src/lib.rs:10
[ 1.234ms] src/lib.rs:20