From fb28a16413ff1b1dcd326aebf65300f82130c58a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Plewa?= Date: Mon, 17 Mar 2025 14:53:30 +0100 Subject: [PATCH] fix jemalloc benchmark with fixedprovider --- benchmark/benchmark.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/benchmark/benchmark.cpp b/benchmark/benchmark.cpp index 377a38fcf3..ea546422e5 100644 --- a/benchmark/benchmark.cpp +++ b/benchmark/benchmark.cpp @@ -171,7 +171,8 @@ UMF_BENCHMARK_REGISTER_F(multiple_malloc_free_benchmark, UMF_BENCHMARK_TEMPLATE_DEFINE(multiple_malloc_free_benchmark, jemalloc_pool_fixedprovider, fixed_alloc_size, pool_allocator>); -UMF_BENCHMARK_REGISTER_F(multiple_malloc_free_benchmark, jemalloc_pool_fix) +UMF_BENCHMARK_REGISTER_F(multiple_malloc_free_benchmark, + jemalloc_pool_fixedprovider) ->Apply(&default_multiple_alloc_fix_size) ->Apply(&multithreaded); @@ -179,7 +180,8 @@ UMF_BENCHMARK_TEMPLATE_DEFINE(multiple_malloc_free_benchmark, jemalloc_pool_uniform_fixedprovider, uniform_alloc_size, pool_allocator>); -UMF_BENCHMARK_REGISTER_F(multiple_malloc_free_benchmark, jemalloc_pool_uniform) +UMF_BENCHMARK_REGISTER_F(multiple_malloc_free_benchmark, + jemalloc_pool_uniform_fixedprovider) ->Apply(&default_multiple_alloc_uniform_size) ->Apply(&multithreaded);