This crate help you to measure time taken by a function or a block of code for "print" debugging purpose. It output in stdout (using println
) the elapsed time.
= "0.1"
usage
extern crate elapsed_time;
// measure time taken by a function
Produce following logs:
block_name_1 tooks 793.515574ms
my_func tooks 28.855µs