Skip to content

test-mergesort: reduce memory allocation overhead of sort subcommand

René Scharfe git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2test-mergesort: read sort input all at oncet/helper/test-mergesort.c+25 -130 replies
2/2test-mergesort: use mem_pool for sort inputt/helper/test-mergesort.c+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] test-mergesort: reduce memory allocation overhead of sort subcommand

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