Skip to content

Commit 3d19323

Browse files
committed
reduce number of different entity counts
1 parent c83ba1d commit 3d19323

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benches/benches/bevy_ecs/commands.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ fn spawning_commands(criterion: &mut Criterion) {
3939
group.warm_up_time(std::time::Duration::from_millis(500));
4040
group.measurement_time(std::time::Duration::from_secs(3));
4141

42-
for i in 1..10 {
42+
for i in (1..5).map(|i| i * 2) {
4343
let entity_count = i * 1000;
4444

4545
group.bench_function(format!("spawn_{}_entities", entity_count), |bencher| {
@@ -65,7 +65,7 @@ fn rng_spawning_commands(criterion: &mut Criterion) {
6565
group.warm_up_time(std::time::Duration::from_millis(500));
6666
group.measurement_time(std::time::Duration::from_secs(3));
6767

68-
for i in 1..10 {
68+
for i in (1..5).map(|i| i * 2) {
6969
let entity_count = i * 1000;
7070

7171
group.bench_function(format!("spawn_{}_entities_rng", entity_count), |bencher| {

0 commit comments

Comments
 (0)