Benchmark a custom string normalisation function #139
@ -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 {
|
||||||
|
@ -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::*;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user