mirror of
https://github.com/andreytkachenko/kdtree-rust.git
synced 2024-11-22 09:26:25 +04:00
renamed benches
This commit is contained in:
parent
666fb5b83a
commit
4b2ce6b173
@ -48,7 +48,7 @@ impl kdtree::kdtree::KdtreePointTrait for Point3WithId {
|
||||
}
|
||||
}
|
||||
|
||||
fn a(b: &mut Bencher) {
|
||||
fn bench_creating_1000_node_tree(b: &mut Bencher) {
|
||||
let len = 1000usize;
|
||||
let mut points : Vec<Point2WithId> = vec![];
|
||||
//let mut kdtree = KdTree::new_with_capacity(3, 16);
|
||||
@ -63,7 +63,7 @@ fn a(b: &mut Bencher) {
|
||||
});
|
||||
}
|
||||
|
||||
fn b(b: &mut Bencher) {
|
||||
fn bench_single_loop_times_for_1000_node_tree(b: &mut Bencher) {
|
||||
let len = 1000usize;
|
||||
let mut points : Vec<Point3WithId> = vec![];
|
||||
//let mut kdtree = KdTree::new_with_capacity(3, 16);
|
||||
|
Loading…
Reference in New Issue
Block a user