1 2 3 4 5 6 7 8 9
use criterion::Criterion; fn some_benchmark(c: &mut Criterion) { let mut group = c.benchmark_group("\"*group/\""); group.bench_function("\"*benchmark/\"", |b| b.iter(|| 1 + 1)); group.finish(); } criterion_group!(benches, some_benchmark);