pub fn time<T>(name: &'static str, f: impl FnOnce() -> T) -> T
Time a closure and record it under name.
name