From dcacc00e3750300617ba6e16eb346713f91a783a Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 21 Jan 2026 22:52:54 +0100 Subject: Remove testing data --- .../deps/jemalloc/test/stress/large_microbench.c | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 examples/redis-unstable/deps/jemalloc/test/stress/large_microbench.c (limited to 'examples/redis-unstable/deps/jemalloc/test/stress/large_microbench.c') diff --git a/examples/redis-unstable/deps/jemalloc/test/stress/large_microbench.c b/examples/redis-unstable/deps/jemalloc/test/stress/large_microbench.c deleted file mode 100644 index c66b33a..0000000 --- a/examples/redis-unstable/deps/jemalloc/test/stress/large_microbench.c +++ /dev/null @@ -1,33 +0,0 @@ -#include "test/jemalloc_test.h" -#include "test/bench.h" - -static void -large_mallocx_free(void) { - /* - * We go a bit larger than the large minclass on its own to better - * expose costs from things like zeroing. - */ - void *p = mallocx(SC_LARGE_MINCLASS, MALLOCX_TCACHE_NONE); - assert_ptr_not_null(p, "mallocx shouldn't fail"); - free(p); -} - -static void -small_mallocx_free(void) { - void *p = mallocx(16, 0); - assert_ptr_not_null(p, "mallocx shouldn't fail"); - free(p); -} - -TEST_BEGIN(test_large_vs_small) { - compare_funcs(100*1000, 1*1000*1000, "large mallocx", - large_mallocx_free, "small mallocx", small_mallocx_free); -} -TEST_END - -int -main(void) { - return test_no_reentrancy( - test_large_vs_small); -} - -- cgit v1.2.3