pub fn timed<T>(fingerprint: &str, f: impl FnOnce() -> T) -> T
Helper: measure f and record the result under fingerprint. Returns the value produced by f.
f
fingerprint