mirror of
https://github.com/bevyengine/bevy
synced 2025-03-07 08:47:24 +00:00
refactor: re-order imports
Modules first, imports second
This commit is contained in:
parent
cbe1688dcd
commit
e701c212cd
7 changed files with 17 additions and 26 deletions
|
@ -1,5 +1,3 @@
|
|||
use criterion::*;
|
||||
|
||||
mod add_remove;
|
||||
mod add_remove_big_sparse_set;
|
||||
mod add_remove_big_table;
|
||||
|
@ -11,6 +9,7 @@ mod insert_simple;
|
|||
mod insert_simple_unbatched;
|
||||
|
||||
use archetype_updates::*;
|
||||
use criterion::{criterion_group, Criterion};
|
||||
|
||||
criterion_group!(
|
||||
benches,
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
use criterion::*;
|
||||
|
||||
mod iter;
|
||||
mod send;
|
||||
|
||||
use criterion::{criterion_group, Criterion};
|
||||
|
||||
criterion_group!(benches, send, iter);
|
||||
|
||||
fn send(c: &mut Criterion) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
use criterion::*;
|
||||
|
||||
mod heavy_compute;
|
||||
mod iter_frag;
|
||||
mod iter_frag_foreach;
|
||||
|
@ -22,6 +20,7 @@ mod iter_simple_wide_sparse_set;
|
|||
mod par_iter_simple;
|
||||
mod par_iter_simple_foreach_hybrid;
|
||||
|
||||
use criterion::{criterion_group, Criterion};
|
||||
use heavy_compute::*;
|
||||
|
||||
criterion_group!(
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use criterion::criterion_group;
|
||||
|
||||
mod propagation;
|
||||
mod simple;
|
||||
|
||||
use criterion::criterion_group;
|
||||
use propagation::*;
|
||||
use simple::*;
|
||||
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
use criterion::criterion_group;
|
||||
|
||||
mod combinator_system;
|
||||
mod dyn_param;
|
||||
mod param_set;
|
||||
|
||||
use combinator_system::*;
|
||||
use criterion::criterion_group;
|
||||
use dyn_param::*;
|
||||
use param_set::*;
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
use criterion::criterion_group;
|
||||
|
||||
mod run_condition;
|
||||
mod running_systems;
|
||||
mod schedule;
|
||||
|
||||
use criterion::criterion_group;
|
||||
use run_condition::*;
|
||||
use running_systems::*;
|
||||
use schedule::*;
|
||||
|
|
|
@ -1,22 +1,17 @@
|
|||
use criterion::criterion_group;
|
||||
|
||||
mod commands;
|
||||
use commands::*;
|
||||
|
||||
mod despawn;
|
||||
use despawn::*;
|
||||
|
||||
mod despawn_recursive;
|
||||
use despawn_recursive::*;
|
||||
|
||||
mod spawn;
|
||||
use spawn::*;
|
||||
|
||||
mod world_get;
|
||||
use world_get::*;
|
||||
|
||||
mod entity_hash;
|
||||
mod spawn;
|
||||
mod world_get;
|
||||
|
||||
use commands::*;
|
||||
use criterion::criterion_group;
|
||||
use despawn::*;
|
||||
use despawn_recursive::*;
|
||||
use entity_hash::*;
|
||||
use spawn::*;
|
||||
use world_get::*;
|
||||
|
||||
criterion_group!(
|
||||
benches,
|
||||
|
|
Loading…
Add table
Reference in a new issue