Skip to main content

time

Function time 

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

Time a closure and record it under name.