Use mimalloc for benchmarks on all platforms

This commit is contained in:
Loïc Lecrenier 2022-08-10 16:56:42 +02:00
parent 8f73251012
commit fb2b6c0c28
6 changed files with 0 additions and 31 deletions

View file

@ -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;