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
3 changed files with 3 additions and 2 deletions
Showing only changes of commit 074f539ea7 - Show all commits

View File

@ -131,8 +131,9 @@ impl<'a, MH: IMusicHoard> From<&'a mut AppInner<MH>> for AppPublicInner<'a> {
} }
} }
#[cfg(nightly)]
#[cfg(test)] #[cfg(test)]
mod testmod; mod benchmod;
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {

View File

@ -469,7 +469,7 @@ mod benches {
// The purpose of these benches was to evaluate the benefit of AhoCorasick over std solutions. // The purpose of these benches was to evaluate the benefit of AhoCorasick over std solutions.
use test::Bencher; use test::Bencher;
use crate::tui::{app::machine::testmod::ARTISTS, lib::MockIMusicHoard}; use crate::tui::{app::machine::benchmod::ARTISTS, lib::MockIMusicHoard};
use super::*; use super::*;