A simple timing proc-macro.
use time_it::time_it;
#[time_it]
fn test(a: i16, b: String) -> Vec<u64> {
todo!()
}
This will log the following message to your terminal:
$ cargo run
test(i16, String) -> Vec<u64>: <your execution time>
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.