pub fn span(name: &'static str) -> SpanExpand description
Starts an RAII timing span recorded as a marker on drop.
The marker name is span:<name>:<elapsed>us. The span uses monotonic
Instant time; recording uses the global best-effort convenience path.
ยงExamples
let span = ailloli_ui_bench::span("layout");
assert!(span.elapsed() >= std::time::Duration::ZERO);