git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] test-mergesort: reduce memory allocation overhead of sort subcommand
@ 2022-08-28 10:32 René Scharfe
  2022-08-28 10:34 ` [PATCH 1/2] test-mergesort: read sort input all at once René Scharfe
  2022-08-28 10:34 ` [PATCH 2/2] test-mergesort: use mem_pool for sort input René Scharfe
  0 siblings, 2 replies; 3+ messages in thread
From: René Scharfe @ 2022-08-28 10:32 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-28 10:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-28 10:32 [PATCH 0/2] test-mergesort: reduce memory allocation overhead of sort subcommand René Scharfe
2022-08-28 10:34 ` [PATCH 1/2] test-mergesort: read sort input all at once René Scharfe
2022-08-28 10:34 ` [PATCH 2/2] test-mergesort: use mem_pool for sort input René Scharfe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).