Benchmark a custom string normalisation function #139

Merged
wojtek merged 4 commits from 138---benchmark-a-custom-string-normalisation-function into main 2024-02-19 20:56:04 +01:00
Showing only changes of commit 8cf68b6ea5 - Show all commits

View File

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