timethis

Macro timethis 

Source
macro_rules! timethis {
    ($block:block) => { ... };
}
Expand description

Runs the block of code once and returns the execution time in a std::time::Duration.