pub fn measure(name: impl Into<SharedString>, f: impl FnOnce())
Measures f when measurement logging is enabled.
f