diff options
Diffstat (limited to 'src/tests/example_stack/benches/do_stuff.rs')
-rw-r--r-- | src/tests/example_stack/benches/do_stuff.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/example_stack/benches/do_stuff.rs b/src/tests/example_stack/benches/do_stuff.rs index c7e2e23..91f21fb 100644 --- a/src/tests/example_stack/benches/do_stuff.rs +++ b/src/tests/example_stack/benches/do_stuff.rs @@ -1,7 +1,9 @@ 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())); + c.bench_function("example_stack-do_something", |b| { + b.iter(|| example_stack::do_something()) + }); } criterion_group!(benches, run_benches); |