macro_rules! benchmark { ($profiler:expr, $name:expr, $code:block) => { ... }; }
Macro for easy benchmarking