1use criterion::{criterion_group, criterion_main, Criterion};
2
3mod shared;
4
5fn bench(c: &mut Criterion) {
6 shared::for_all_recording(&mut c.benchmark_group("event"), |b| {
7 b.iter(|| tracing::info!("hello world!"))
8 });
9}
10
11criterion_group!(benches, bench);
12criterion_main!(benches);
13