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

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

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