#![feature(test)]

extern crate test;
extern crate bloodhound;

use test::Bencher;
use std::path::PathBuf;
use bloodhound::matching::find;

#[bench]
fn bench_edit_distance(b: &mut Bencher) {
    let haystack = vec![PathBuf::from("src/hound.rs"),
        PathBuf::from("lib/hounds.rs"), PathBuf::from("Houndfile")];
    b.iter(|| find("match", &haystack, 5));
}

Add a benchmark test for edit_distance function.
Add a benchmark test for edit_distance function.
