aboutsummaryrefslogtreecommitdiff
path: root/src/tests/example_stack/benches/do_stuff.rs
blob: c7e2e23320c0a00257367d0082504408bd879212 (plain)
1
2
3
4
5
6
7
8
use criterion::{criterion_group, criterion_main, Criterion};

fn run_benches(c: &mut Criterion) {
    c.bench_function("do_something", |b| b.iter(|| example_stack::do_something()));
}

criterion_group!(benches, run_benches);
criterion_main!(benches);