Function aoko::standard::functions::fun::measure_time[][src]

pub fn measure_time<R>(f: impl FnOnce() -> R) -> Duration
Expand description

Executes the given closure block and returns the duration of elapsed time interval.