From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: git@vger.kernel.org
Cc: "Junio C Hamano" <gitster@pobox.com>,
"Nguyễn Thái Ngọc Duy" <pclouds@gmail.com>,
"Jonathan Nieder" <jrnieder@gmail.com>,
"Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Subject: [PATCH v3 0/2] perf: show that wildmatch() regressed for pathological cases in v2.0
Date: Thu, 11 May 2017 07:43:52 +0000 [thread overview]
Message-ID: <20170511074354.11336-1-avarab@gmail.com> (raw)
Fixes the issues noted in v3, see
<20170510225316.31680-1-avarab@gmail.com>
(https://public-inbox.org/git/20170510225316.31680-1-avarab@gmail.com/).
In addition I was wrong about for-each-ref not being subjected to this
slowdown, I was just screwing up the testcase. Fix that. Now:
$ GIT_PERF_REPEAT_COUNT=1 GIT_PERF_MAKE_OPTS="-j6 NO_OPENSSL=Y NO_WILDMATCH=YesPlease" ./run v1.9.5 v2.12.0 p0100-globbing.sh
Test v1.9.5 v2.12.0
-------------------------------------------------------------------------------------------------
0100.2: refglob((a*)^nb) against tag (a^100).t; n = 1 0.00(0.00+0.00) 0.00(0.00+0.00) =
0100.3: refglob((a*)^nb) against tag (a^100).t; n = 2 0.00(0.00+0.00) 0.00(0.00+0.00) =
0100.4: refglob((a*)^nb) against tag (a^100).t; n = 3 0.00(0.00+0.00) 0.00(0.00+0.00) =
0100.5: refglob((a*)^nb) against tag (a^100).t; n = 4 0.00(0.00+0.00) 0.01(0.00+0.00) +inf
0100.6: refglob((a*)^nb) against tag (a^100).t; n = 5 0.00(0.00+0.00) 0.16(0.15+0.00) +inf
0100.7: refglob((a*)^nb) against tag (a^100).t; n = 6 0.00(0.00+0.00) 2.73(2.71+0.00) +inf
0100.8: fileglob((a*)^nb) against file (a^100).t; n = 1 0.00(0.00+0.00) 0.00(0.00+0.00) =
0100.9: fileglob((a*)^nb) against file (a^100).t; n = 2 0.00(0.00+0.00) 0.00(0.00+0.00) =
0100.10: fileglob((a*)^nb) against file (a^100).t; n = 3 0.00(0.00+0.00) 0.00(0.00+0.00) =
0100.11: fileglob((a*)^nb) against file (a^100).t; n = 4 0.00(0.00+0.00) 0.01(0.00+0.00) +inf
0100.12: fileglob((a*)^nb) against file (a^100).t; n = 5 0.00(0.00+0.00) 0.16(0.15+0.00) +inf
0100.13: fileglob((a*)^nb) against file (a^100).t; n = 6 0.00(0.00+0.00) 2.75(2.73+0.00) +inf
Ævar Arnfjörð Bjarmason (2):
perf: add function to setup a fresh test repo
perf: add test showing exponential growth in path globbing
t/perf/README | 1 +
t/perf/p0100-globbing.sh | 43 +++++++++++++++++++++++++++++++++++++++++++
t/perf/perf-lib.sh | 17 +++++++++++++----
3 files changed, 57 insertions(+), 4 deletions(-)
create mode 100755 t/perf/p0100-globbing.sh
--
2.11.0
next reply other threads:[~2017-05-11 7:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-11 7:43 Ævar Arnfjörð Bjarmason [this message]
2017-05-11 7:43 ` [PATCH v3 1/2] perf: add function to setup a fresh test repo Ævar Arnfjörð Bjarmason
2017-05-11 7:43 ` [PATCH v3 2/2] perf: add test showing exponential growth in path globbing Ævar Arnfjörð Bjarmason
2017-05-11 9:41 ` [PATCH v4 0/2] perf: show that wildmatch() regressed for pathological cases in v2.0 Ævar Arnfjörð Bjarmason
2017-05-11 19:17 ` Jonathan Nieder
2017-05-11 9:41 ` [PATCH v4 1/2] perf: add function to setup a fresh test repo Ævar Arnfjörð Bjarmason
2017-05-11 9:41 ` [PATCH v4 2/2] perf: add test showing exponential growth in path globbing Ævar Arnfjörð Bjarmason
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170511074354.11336-1-avarab@gmail.com \
--to=avarab@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=jrnieder@gmail.com \
--cc=pclouds@gmail.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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).