From 45803de41be754a477e715646a91e818fb22f400 Mon Sep 17 00:00:00 2001 From: Gino Valente Date: Fri, 6 Sep 2024 17:35:43 -0700 Subject: [PATCH] Changed benchmark names Added the `simple_` qualifier --- benches/benches/bevy_reflect/function.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/benches/benches/bevy_reflect/function.rs b/benches/benches/bevy_reflect/function.rs index 92e5aee3fe..b82466884f 100644 --- a/benches/benches/bevy_reflect/function.rs +++ b/benches/benches/bevy_reflect/function.rs @@ -99,7 +99,7 @@ fn overload(c: &mut Criterion) { } c.benchmark_group("with_overload") - .bench_function("01_overload", |b| { + .bench_function("01_simple_overload", |b| { b.iter_batched( || add::.into_function(), |func| func.with_overload(add::), @@ -115,7 +115,7 @@ fn overload(c: &mut Criterion) { BatchSize::SmallInput, ); }) - .bench_function("03_overload", |b| { + .bench_function("03_simple_overload", |b| { b.iter_batched( || add::.into_function(), |func| { @@ -137,7 +137,7 @@ fn overload(c: &mut Criterion) { BatchSize::SmallInput, ); }) - .bench_function("10_overload", |b| { + .bench_function("10_simple_overload", |b| { b.iter_batched( || add::.into_function(), |func| { @@ -171,14 +171,14 @@ fn overload(c: &mut Criterion) { BatchSize::SmallInput, ); }) - .bench_function("01_nested_overload", |b| { + .bench_function("01_nested_simple_overload", |b| { b.iter_batched( || add::.into_function(), |func| func.with_overload(add::), BatchSize::SmallInput, ); }) - .bench_function("03_nested_overload", |b| { + .bench_function("03_nested_simple_overload", |b| { b.iter_batched( || add::.into_function(), |func| { @@ -191,7 +191,7 @@ fn overload(c: &mut Criterion) { BatchSize::SmallInput, ); }) - .bench_function("10_nested_overload", |b| { + .bench_function("10_nested_simple_overload", |b| { b.iter_batched( || add::.into_function(), |func| { @@ -220,7 +220,7 @@ fn overload(c: &mut Criterion) { }); c.benchmark_group("call_overload") - .bench_function("01_overload", |b| { + .bench_function("01_simple_overload", |b| { b.iter_batched( || { ( @@ -258,7 +258,7 @@ fn overload(c: &mut Criterion) { BatchSize::SmallInput, ); }) - .bench_function("03_overload", |b| { + .bench_function("03_simple_overload", |b| { b.iter_batched( || { ( @@ -306,7 +306,7 @@ fn overload(c: &mut Criterion) { BatchSize::SmallInput, ); }) - .bench_function("10_overload", |b| { + .bench_function("10_simple_overload", |b| { b.iter_batched( || { (