diff --git a/Cargo.toml b/Cargo.toml index f6ce8fa0c4..42b1c59916 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,4 +14,7 @@ glsl-to-spirv = "0.1" zerocopy = "0.2" log = "0.4" env_logger = "0.7" -rand = "0.7.2" \ No newline at end of file +rand = "0.7.2" + +[profile.release] +debug = true \ No newline at end of file diff --git a/examples/simple.rs b/examples/simple.rs index 5f3a4ed8b4..3beaaa5c07 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -109,9 +109,9 @@ fn build_spawner_system(world: &mut World) -> Box { mesh_storage.get_named("cube").unwrap() }; - let duration = 10000.0; + let duration = 0.5; let mut elapsed = duration; - let batch_size = 5; + let batch_size = 100; SystemBuilder::new("Spawner") .read_resource::