diff --git a/benches/benches/bevy_ecs/iteration/iter_frag.rs b/benches/benches/bevy_ecs/iteration/iter_frag.rs index e2e765c870..376ac6ea93 100644 --- a/benches/benches/bevy_ecs/iteration/iter_frag.rs +++ b/benches/benches/bevy_ecs/iteration/iter_frag.rs @@ -27,6 +27,7 @@ impl<'w> Benchmark<'w> { Self(world, query) } + #[inline(never)] pub fn run(&mut self) { for mut data in self.1.iter_mut(&mut self.0) { data.0 *= 2.0; diff --git a/benches/benches/bevy_ecs/iteration/iter_frag_foreach.rs b/benches/benches/bevy_ecs/iteration/iter_frag_foreach.rs index 480d6f942d..b4a8877074 100644 --- a/benches/benches/bevy_ecs/iteration/iter_frag_foreach.rs +++ b/benches/benches/bevy_ecs/iteration/iter_frag_foreach.rs @@ -27,6 +27,7 @@ impl<'w> Benchmark<'w> { Self(world, query) } + #[inline(never)] pub fn run(&mut self) { self.1.for_each_mut(&mut self.0, |mut data| { data.0 *= 2.0; diff --git a/benches/benches/bevy_ecs/iteration/iter_frag_foreach_sparse.rs b/benches/benches/bevy_ecs/iteration/iter_frag_foreach_sparse.rs index add30629af..0d92b39999 100644 --- a/benches/benches/bevy_ecs/iteration/iter_frag_foreach_sparse.rs +++ b/benches/benches/bevy_ecs/iteration/iter_frag_foreach_sparse.rs @@ -38,6 +38,7 @@ impl<'w> Benchmark<'w> { Self(world, query) } + #[inline(never)] pub fn run(&mut self) { self.1.for_each_mut(&mut self.0, |mut data| { data.0 *= 2.0; diff --git a/benches/benches/bevy_ecs/iteration/iter_frag_foreach_wide.rs b/benches/benches/bevy_ecs/iteration/iter_frag_foreach_wide.rs index f7807486a1..f385b04ebd 100644 --- a/benches/benches/bevy_ecs/iteration/iter_frag_foreach_wide.rs +++ b/benches/benches/bevy_ecs/iteration/iter_frag_foreach_wide.rs @@ -55,6 +55,7 @@ impl<'w> Benchmark<'w> { Self(world, query) } + #[inline(never)] pub fn run(&mut self) { self.1.for_each_mut(&mut self.0, |mut data| { data.0 .0 *= 2.0; diff --git a/benches/benches/bevy_ecs/iteration/iter_frag_foreach_wide_sparse.rs b/benches/benches/bevy_ecs/iteration/iter_frag_foreach_wide_sparse.rs index 99ada032f3..e21887204d 100644 --- a/benches/benches/bevy_ecs/iteration/iter_frag_foreach_wide_sparse.rs +++ b/benches/benches/bevy_ecs/iteration/iter_frag_foreach_wide_sparse.rs @@ -65,6 +65,7 @@ impl<'w> Benchmark<'w> { Self(world, query) } + #[inline(never)] pub fn run(&mut self) { self.1.for_each_mut(&mut self.0, |mut data| { data.0 .0 *= 2.0; diff --git a/benches/benches/bevy_ecs/iteration/iter_frag_sparse.rs b/benches/benches/bevy_ecs/iteration/iter_frag_sparse.rs index b49e91b8e9..7385bf28d4 100644 --- a/benches/benches/bevy_ecs/iteration/iter_frag_sparse.rs +++ b/benches/benches/bevy_ecs/iteration/iter_frag_sparse.rs @@ -38,6 +38,7 @@ impl<'w> Benchmark<'w> { Self(world, query) } + #[inline(never)] pub fn run(&mut self) { for mut data in self.1.iter_mut(&mut self.0) { data.0 *= 2.0; diff --git a/benches/benches/bevy_ecs/iteration/iter_frag_wide.rs b/benches/benches/bevy_ecs/iteration/iter_frag_wide.rs index 878535c3fa..84442c78e5 100644 --- a/benches/benches/bevy_ecs/iteration/iter_frag_wide.rs +++ b/benches/benches/bevy_ecs/iteration/iter_frag_wide.rs @@ -55,6 +55,7 @@ impl<'w> Benchmark<'w> { Self(world, query) } + #[inline(never)] pub fn run(&mut self) { for mut data in self.1.iter_mut(&mut self.0) { data.0 .0 *= 2.0; diff --git a/benches/benches/bevy_ecs/iteration/iter_frag_wide_sparse.rs b/benches/benches/bevy_ecs/iteration/iter_frag_wide_sparse.rs index be6b9ebbf3..928ffea073 100644 --- a/benches/benches/bevy_ecs/iteration/iter_frag_wide_sparse.rs +++ b/benches/benches/bevy_ecs/iteration/iter_frag_wide_sparse.rs @@ -65,6 +65,7 @@ impl<'w> Benchmark<'w> { Self(world, query) } + #[inline(never)] pub fn run(&mut self) { for mut data in self.1.iter_mut(&mut self.0) { data.0 .0 *= 2.0; diff --git a/benches/benches/bevy_ecs/iteration/iter_simple.rs b/benches/benches/bevy_ecs/iteration/iter_simple.rs index 41693fbf60..bf01a049d4 100644 --- a/benches/benches/bevy_ecs/iteration/iter_simple.rs +++ b/benches/benches/bevy_ecs/iteration/iter_simple.rs @@ -33,6 +33,7 @@ impl<'w> Benchmark<'w> { Self(world, query) } + #[inline(never)] pub fn run(&mut self) { for (velocity, mut position) in self.1.iter_mut(&mut self.0) { position.0 += velocity.0; diff --git a/benches/benches/bevy_ecs/iteration/iter_simple_foreach.rs b/benches/benches/bevy_ecs/iteration/iter_simple_foreach.rs index 36972562b6..05956851e5 100644 --- a/benches/benches/bevy_ecs/iteration/iter_simple_foreach.rs +++ b/benches/benches/bevy_ecs/iteration/iter_simple_foreach.rs @@ -33,6 +33,7 @@ impl<'w> Benchmark<'w> { Self(world, query) } + #[inline(never)] pub fn run(&mut self) { self.1 .for_each_mut(&mut self.0, |(velocity, mut position)| { diff --git a/benches/benches/bevy_ecs/iteration/iter_simple_foreach_sparse_set.rs b/benches/benches/bevy_ecs/iteration/iter_simple_foreach_sparse_set.rs index 24c37debb2..f9396f0ff2 100644 --- a/benches/benches/bevy_ecs/iteration/iter_simple_foreach_sparse_set.rs +++ b/benches/benches/bevy_ecs/iteration/iter_simple_foreach_sparse_set.rs @@ -35,6 +35,7 @@ impl<'w> Benchmark<'w> { Self(world, query) } + #[inline(never)] pub fn run(&mut self) { self.1 .for_each_mut(&mut self.0, |(velocity, mut position)| { diff --git a/benches/benches/bevy_ecs/iteration/iter_simple_foreach_wide.rs b/benches/benches/bevy_ecs/iteration/iter_simple_foreach_wide.rs index a6f5902e41..4c0ee60dbe 100644 --- a/benches/benches/bevy_ecs/iteration/iter_simple_foreach_wide.rs +++ b/benches/benches/bevy_ecs/iteration/iter_simple_foreach_wide.rs @@ -55,6 +55,7 @@ impl<'w> Benchmark<'w> { Self(world, query) } + #[inline(never)] pub fn run(&mut self) { self.1.for_each_mut(&mut self.0, |mut item| { item.1 .0 += item.0 .0; diff --git a/benches/benches/bevy_ecs/iteration/iter_simple_foreach_wide_sparse_set.rs b/benches/benches/bevy_ecs/iteration/iter_simple_foreach_wide_sparse_set.rs index 0b91fe976a..f15dd5850f 100644 --- a/benches/benches/bevy_ecs/iteration/iter_simple_foreach_wide_sparse_set.rs +++ b/benches/benches/bevy_ecs/iteration/iter_simple_foreach_wide_sparse_set.rs @@ -57,6 +57,7 @@ impl<'w> Benchmark<'w> { Self(world, query) } + #[inline(never)] pub fn run(&mut self) { self.1.for_each_mut(&mut self.0, |mut item| { item.1 .0 += item.0 .0; diff --git a/benches/benches/bevy_ecs/iteration/iter_simple_sparse_set.rs b/benches/benches/bevy_ecs/iteration/iter_simple_sparse_set.rs index 1f3c267d4d..f31554ee0d 100644 --- a/benches/benches/bevy_ecs/iteration/iter_simple_sparse_set.rs +++ b/benches/benches/bevy_ecs/iteration/iter_simple_sparse_set.rs @@ -35,6 +35,7 @@ impl<'w> Benchmark<'w> { Self(world, query) } + #[inline(never)] pub fn run(&mut self) { for (velocity, mut position) in self.1.iter_mut(&mut self.0) { position.0 += velocity.0; diff --git a/benches/benches/bevy_ecs/iteration/iter_simple_system.rs b/benches/benches/bevy_ecs/iteration/iter_simple_system.rs index 2b09ada53e..f4d6066897 100644 --- a/benches/benches/bevy_ecs/iteration/iter_simple_system.rs +++ b/benches/benches/bevy_ecs/iteration/iter_simple_system.rs @@ -41,6 +41,7 @@ impl Benchmark { Self(world, Box::new(system)) } + #[inline(never)] pub fn run(&mut self) { self.1.run((), &mut self.0); } diff --git a/benches/benches/bevy_ecs/iteration/iter_simple_wide.rs b/benches/benches/bevy_ecs/iteration/iter_simple_wide.rs index 7e5b763d52..8995fb843f 100644 --- a/benches/benches/bevy_ecs/iteration/iter_simple_wide.rs +++ b/benches/benches/bevy_ecs/iteration/iter_simple_wide.rs @@ -55,6 +55,7 @@ impl<'w> Benchmark<'w> { Self(world, query) } + #[inline(never)] pub fn run(&mut self) { for mut item in self.1.iter_mut(&mut self.0) { item.1 .0 += item.0 .0; diff --git a/benches/benches/bevy_ecs/iteration/iter_simple_wide_sparse_set.rs b/benches/benches/bevy_ecs/iteration/iter_simple_wide_sparse_set.rs index 8be4a85ccc..5235fd9368 100644 --- a/benches/benches/bevy_ecs/iteration/iter_simple_wide_sparse_set.rs +++ b/benches/benches/bevy_ecs/iteration/iter_simple_wide_sparse_set.rs @@ -57,6 +57,7 @@ impl<'w> Benchmark<'w> { Self(world, query) } + #[inline(never)] pub fn run(&mut self) { for mut item in self.1.iter_mut(&mut self.0) { item.1 .0 += item.0 .0;