Skip to content

Commit fb28a16

Browse files
committed
fix jemalloc benchmark with fixedprovider
1 parent 0e3d3e4 commit fb28a16

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

benchmark/benchmark.cpp

+4-2
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,17 @@ UMF_BENCHMARK_REGISTER_F(multiple_malloc_free_benchmark,
171171
UMF_BENCHMARK_TEMPLATE_DEFINE(multiple_malloc_free_benchmark,
172172
jemalloc_pool_fixedprovider, fixed_alloc_size,
173173
pool_allocator<jemalloc_pool<fixed_provider>>);
174-
UMF_BENCHMARK_REGISTER_F(multiple_malloc_free_benchmark, jemalloc_pool_fix)
174+
UMF_BENCHMARK_REGISTER_F(multiple_malloc_free_benchmark,
175+
jemalloc_pool_fixedprovider)
175176
->Apply(&default_multiple_alloc_fix_size)
176177
->Apply(&multithreaded);
177178

178179
UMF_BENCHMARK_TEMPLATE_DEFINE(multiple_malloc_free_benchmark,
179180
jemalloc_pool_uniform_fixedprovider,
180181
uniform_alloc_size,
181182
pool_allocator<jemalloc_pool<fixed_provider>>);
182-
UMF_BENCHMARK_REGISTER_F(multiple_malloc_free_benchmark, jemalloc_pool_uniform)
183+
UMF_BENCHMARK_REGISTER_F(multiple_malloc_free_benchmark,
184+
jemalloc_pool_uniform_fixedprovider)
183185
->Apply(&default_multiple_alloc_uniform_size)
184186
->Apply(&multithreaded);
185187

0 commit comments

Comments
 (0)