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