Function time_it

Source
pub fn time_it<R>(kind: TimingKind, f: impl FnOnce() -> R) -> R