mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Use mimalloc for benchmarks on all platforms
This commit is contained in:
parent
8f73251012
commit
fb2b6c0c28
6 changed files with 0 additions and 31 deletions
|
@ -2,11 +2,6 @@ use criterion::{criterion_group, criterion_main};
|
|||
use milli::tokenizer::TokenizerBuilder;
|
||||
use milli::{FormatOptions, MatcherBuilder, MatchingWord, MatchingWords};
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
#[global_allocator]
|
||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
#[global_allocator]
|
||||
static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue