renamed benches

This commit is contained in:
Olek 2016-12-27 02:25:25 +01:00
parent 666fb5b83a
commit 4b2ce6b173

View File

@ -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);