diff options
Diffstat (limited to 'tvix/eval/benches/eval.rs')
-rw-r--r-- | tvix/eval/benches/eval.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tvix/eval/benches/eval.rs b/tvix/eval/benches/eval.rs index 36ca310f4465..f4d6489f1e5c 100644 --- a/tvix/eval/benches/eval.rs +++ b/tvix/eval/benches/eval.rs @@ -1,11 +1,9 @@ use criterion::{black_box, criterion_group, criterion_main, Criterion}; use itertools::Itertools; -#[cfg(not(target_env = "msvc"))] -use tikv_jemallocator::Jemalloc; +use mimalloc::MiMalloc; -#[cfg(not(target_env = "msvc"))] #[global_allocator] -static GLOBAL: Jemalloc = Jemalloc; +static GLOBAL: MiMalloc = MiMalloc; fn interpret(code: &str) { tvix_eval::Evaluation::builder_pure() |