mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-25 22:34:28 +01:00
Use MiMalloc in milli tests
This commit is contained in:
parent
70c906d4b4
commit
6c659dc12f
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -2645,6 +2645,7 @@ dependencies = [
|
|||||||
"maplit",
|
"maplit",
|
||||||
"md5",
|
"md5",
|
||||||
"memmap2",
|
"memmap2",
|
||||||
|
"mimalloc",
|
||||||
"obkv",
|
"obkv",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"ordered-float",
|
"ordered-float",
|
||||||
|
@ -58,6 +58,7 @@ logging_timer = "1.1.0"
|
|||||||
csv = "1.1.6"
|
csv = "1.1.6"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
mimalloc = { version = "0.1.29", default-features = false }
|
||||||
big_s = "1.0.2"
|
big_s = "1.0.2"
|
||||||
insta = "1.21.0"
|
insta = "1.21.0"
|
||||||
maplit = "1.0.2"
|
maplit = "1.0.2"
|
||||||
|
@ -1,7 +1,15 @@
|
|||||||
#![cfg_attr(all(test, fuzzing), feature(no_coverage))]
|
#![cfg_attr(all(test, fuzzing), feature(no_coverage))]
|
||||||
|
#![allow(unused, clippy::type_complexity)]
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
#[global_allocator]
|
||||||
|
static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
pub mod documents;
|
pub mod documents;
|
||||||
|
|
||||||
|
pub use search::new;
|
||||||
|
|
||||||
mod asc_desc;
|
mod asc_desc;
|
||||||
mod criterion;
|
mod criterion;
|
||||||
mod error;
|
mod error;
|
||||||
|
Loading…
Reference in New Issue
Block a user