use criterion::{criterion_group, Criterion}; fn router(c: &mut Criterion) { let mut group = c.benchmark_group("\"*group/\""); group.bench_function("\"*benchmark/\" '", |b| b.iter(|| 1 + 1)); group.finish(); } criterion_group!(benches, router);