Benchmark a custom string normalisation function #139
@ -483,7 +483,6 @@ mod benches {
|
||||
|
||||
#[bench]
|
||||
fn normalize_search(b: &mut Bencher) {
|
||||
// let strings = generate_sample(random_alpanumeric_string);
|
||||
let mut iter = ARTISTS.iter().cycle();
|
||||
b.iter(|| test::black_box(Search::normalize_search(&iter.next().unwrap(), true, true)))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user