Crates.io | easytiming |
lib.rs | easytiming |
version | 0.0.5 |
source | src |
created_at | 2017-08-31 07:04:38.230248 |
updated_at | 2017-09-04 20:39:28.606743 |
description | Utilities for easy timing functions, code blocks, etc |
homepage | https://gitlab.com/imp/easytiming-rs |
repository | https://gitlab.com/imp/easytiming-rs.git |
max_upload_size | |
id | 29996 |
size | 20,235 |
Easy timing for functions, code blocks etc in Rust
Really quick way to start using easytiming
is like this:
extern crate easytiming;
use easytiming::Timing;
fn do_something() {
let _t = Timing::new("do_something() function");
...
}
This will produce the next output when run:
"do_something() function" was running for 410420 ns