Skip to content

Commit

Permalink
reduce number of different entity counts
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanSWard committed Jun 14, 2021
1 parent c83ba1d commit 3d19323
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benches/benches/bevy_ecs/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fn spawning_commands(criterion: &mut Criterion) {
group.warm_up_time(std::time::Duration::from_millis(500));
group.measurement_time(std::time::Duration::from_secs(3));

for i in 1..10 {
for i in (1..5).map(|i| i * 2) {
let entity_count = i * 1000;

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

for i in 1..10 {
for i in (1..5).map(|i| i * 2) {
let entity_count = i * 1000;

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

0 comments on commit 3d19323

Please sign in to comment.