Skip to content

Commit 661a213

Browse files
lplewabratpiorka
authored andcommitted
reenable disjoint pool benchmark
1 parent 3495715 commit 661a213

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

benchmark/benchmark.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,12 @@ UMF_BENCHMARK_TEMPLATE_DEFINE(multiple_malloc_free_benchmark, disjoint_pool_fix,
154154
UMF_BENCHMARK_REGISTER_F(multiple_malloc_free_benchmark, disjoint_pool_fix)
155155
->Apply(&default_multiple_alloc_fix_size);
156156

157-
// TODO: debug why this crashes
158-
/*UMF_BENCHMARK_TEMPLATE_DEFINE(multiple_malloc_free_benchmark,
157+
UMF_BENCHMARK_TEMPLATE_DEFINE(multiple_malloc_free_benchmark,
159158
disjoint_pool_uniform, uniform_alloc_size,
160159
pool_allocator<disjoint_pool<os_provider>>);
161160
UMF_BENCHMARK_REGISTER_F(multiple_malloc_free_benchmark, disjoint_pool_uniform)
162-
->Apply(&default_multiple_alloc_uniform_size);
163-
*/
161+
->Apply(&default_multiple_alloc_uniform_size)
162+
->Apply(&multithreaded);
164163

165164
#ifdef UMF_POOL_JEMALLOC_ENABLED
166165
UMF_BENCHMARK_TEMPLATE_DEFINE(multiple_malloc_free_benchmark, jemalloc_pool_fix,

0 commit comments

Comments
 (0)