From: René Scharfe Date: Sun, 28 Aug 2022 10:32:38 GMT Subject: [PATCH 0/2] test-mergesort: reduce memory allocation overhead of sort subcommand Message-ID: <128f0fb8-d29b-8622-0cfe-2ecadc999db5@web.de> The sort subcommand of the test-mergesort helper is used by p0071 to measure the performance of the linked list sort functions built by the macro DEFINE_LIST_SORT. It spends a significant amount of time allocating memory for the test data. This series reduces it to allow focusing more on the actual sort performance. test-mergesort: read sort input all at once test-mergesort: use mem_pool for sort input t/helper/test-mergesort.c | 40 ++++++++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 13 deletions(-) -- 2.30.2