mirror of
https://github.com/bevyengine/bevy
synced 2024-12-30 06:53:13 +00:00
Changed benchmark names
Added the `simple_` qualifier
This commit is contained in:
parent
0eb2398a26
commit
45803de41b
1 changed files with 9 additions and 9 deletions
|
@ -99,7 +99,7 @@ fn overload(c: &mut Criterion) {
|
||||||
}
|
}
|
||||||
|
|
||||||
c.benchmark_group("with_overload")
|
c.benchmark_group("with_overload")
|
||||||
.bench_function("01_overload", |b| {
|
.bench_function("01_simple_overload", |b| {
|
||||||
b.iter_batched(
|
b.iter_batched(
|
||||||
|| add::<i8>.into_function(),
|
|| add::<i8>.into_function(),
|
||||||
|func| func.with_overload(add::<i16>),
|
|func| func.with_overload(add::<i16>),
|
||||||
|
@ -115,7 +115,7 @@ fn overload(c: &mut Criterion) {
|
||||||
BatchSize::SmallInput,
|
BatchSize::SmallInput,
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
.bench_function("03_overload", |b| {
|
.bench_function("03_simple_overload", |b| {
|
||||||
b.iter_batched(
|
b.iter_batched(
|
||||||
|| add::<i8>.into_function(),
|
|| add::<i8>.into_function(),
|
||||||
|func| {
|
|func| {
|
||||||
|
@ -137,7 +137,7 @@ fn overload(c: &mut Criterion) {
|
||||||
BatchSize::SmallInput,
|
BatchSize::SmallInput,
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
.bench_function("10_overload", |b| {
|
.bench_function("10_simple_overload", |b| {
|
||||||
b.iter_batched(
|
b.iter_batched(
|
||||||
|| add::<i8>.into_function(),
|
|| add::<i8>.into_function(),
|
||||||
|func| {
|
|func| {
|
||||||
|
@ -171,14 +171,14 @@ fn overload(c: &mut Criterion) {
|
||||||
BatchSize::SmallInput,
|
BatchSize::SmallInput,
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
.bench_function("01_nested_overload", |b| {
|
.bench_function("01_nested_simple_overload", |b| {
|
||||||
b.iter_batched(
|
b.iter_batched(
|
||||||
|| add::<i8>.into_function(),
|
|| add::<i8>.into_function(),
|
||||||
|func| func.with_overload(add::<i16>),
|
|func| func.with_overload(add::<i16>),
|
||||||
BatchSize::SmallInput,
|
BatchSize::SmallInput,
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
.bench_function("03_nested_overload", |b| {
|
.bench_function("03_nested_simple_overload", |b| {
|
||||||
b.iter_batched(
|
b.iter_batched(
|
||||||
|| add::<i8>.into_function(),
|
|| add::<i8>.into_function(),
|
||||||
|func| {
|
|func| {
|
||||||
|
@ -191,7 +191,7 @@ fn overload(c: &mut Criterion) {
|
||||||
BatchSize::SmallInput,
|
BatchSize::SmallInput,
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
.bench_function("10_nested_overload", |b| {
|
.bench_function("10_nested_simple_overload", |b| {
|
||||||
b.iter_batched(
|
b.iter_batched(
|
||||||
|| add::<i8>.into_function(),
|
|| add::<i8>.into_function(),
|
||||||
|func| {
|
|func| {
|
||||||
|
@ -220,7 +220,7 @@ fn overload(c: &mut Criterion) {
|
||||||
});
|
});
|
||||||
|
|
||||||
c.benchmark_group("call_overload")
|
c.benchmark_group("call_overload")
|
||||||
.bench_function("01_overload", |b| {
|
.bench_function("01_simple_overload", |b| {
|
||||||
b.iter_batched(
|
b.iter_batched(
|
||||||
|| {
|
|| {
|
||||||
(
|
(
|
||||||
|
@ -258,7 +258,7 @@ fn overload(c: &mut Criterion) {
|
||||||
BatchSize::SmallInput,
|
BatchSize::SmallInput,
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
.bench_function("03_overload", |b| {
|
.bench_function("03_simple_overload", |b| {
|
||||||
b.iter_batched(
|
b.iter_batched(
|
||||||
|| {
|
|| {
|
||||||
(
|
(
|
||||||
|
@ -306,7 +306,7 @@ fn overload(c: &mut Criterion) {
|
||||||
BatchSize::SmallInput,
|
BatchSize::SmallInput,
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
.bench_function("10_overload", |b| {
|
.bench_function("10_simple_overload", |b| {
|
||||||
b.iter_batched(
|
b.iter_batched(
|
||||||
|| {
|
|| {
|
||||||
(
|
(
|
||||||
|
|
Loading…
Reference in a new issue