Skip to main content

time

Function time 

Source
pub fn time<T>(name: &'static str, f: impl FnOnce() -> T) -> T
Expand description

Time the given closure.