From: "René Scharfe" <l.s.r@web.de>
To: git@vger.kernel.org
Cc: Junio C Hamano <gitster@pobox.com>
Subject: [PATCH 0/2] test-mergesort: reduce memory allocation overhead of sort subcommand
Date: Sun, 28 Aug 2022 12:32:38 +0200 [thread overview]
Message-ID: <128f0fb8-d29b-8622-0cfe-2ecadc999db5@web.de> (raw)
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
next reply other threads:[~2022-08-28 10:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-28 10:32 René Scharfe [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=128f0fb8-d29b-8622-0cfe-2ecadc999db5@web.de \
--to=l.s.r@web.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).