aboutsummaryrefslogtreecommitdiff
path: root/azalea
diff options
context:
space:
mode:
Diffstat (limited to 'azalea')
-rw-r--r--azalea/benches/physics.rs14
1 files changed, 2 insertions, 12 deletions
diff --git a/azalea/benches/physics.rs b/azalea/benches/physics.rs
index 0d4a3f2f..146b3018 100644
--- a/azalea/benches/physics.rs
+++ b/azalea/benches/physics.rs
@@ -1,20 +1,10 @@
-use std::{hint::black_box, sync::Arc, time::Duration};
-
use azalea::{
- pathfinder::{
- astar::{self, a_star},
- goals::{BlockPosGoal, Goal},
- mining::MiningCache,
- simulation::{SimulatedPlayerBundle, Simulation, SimulationSet},
- world::CachedWorld,
- },
- BlockPos, Vec3,
+ pathfinder::simulation::{SimulatedPlayerBundle, SimulationSet},
+ Vec3,
};
use azalea_core::position::{ChunkBlockPos, ChunkPos};
-use azalea_inventory::Menu;
use azalea_world::{Chunk, ChunkStorage, PartialChunkStorage};
use criterion::{criterion_group, criterion_main, Bencher, Criterion};
-use parking_lot::RwLock;
#[allow(dead_code)]
fn generate_world(partial_chunks: &mut PartialChunkStorage, size: u32) -> ChunkStorage {