From a4f67a202b23f04d10e451b0614bf465df7ad460 Mon Sep 17 00:00:00 2001 From: re0312 Date: Sat, 6 Apr 2024 06:05:29 +0800 Subject: [PATCH] comment --- benches/benches/bevy_ecs/scheduling/executor.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/benches/benches/bevy_ecs/scheduling/executor.rs b/benches/benches/bevy_ecs/scheduling/executor.rs index 4904167c41..63caf025cf 100644 --- a/benches/benches/bevy_ecs/scheduling/executor.rs +++ b/benches/benches/bevy_ecs/scheduling/executor.rs @@ -27,6 +27,7 @@ pub fn executor(c: &mut Criterion) { let mut schedule = Schedule::default(); schedule.set_executor_kind(bevy_ecs::schedule::ExecutorKind::SingleThreaded); + // spawn 16 systems in chain chain_systems!(schedule;0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); schedule.initialize(&mut world); @@ -49,6 +50,7 @@ pub fn executor(c: &mut Criterion) { let mut schedule = Schedule::default(); schedule.set_executor_kind(bevy_ecs::schedule::ExecutorKind::MultiThreaded); + // spawn 16 batches, each with `system_count_per_batch` systems per batch. for i in 0..system_count_per_batch { chain_systems!(schedule;0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); }