From: "Erik Elfström" <erik.elfstrom@gmail.com>
To: git@vger.kernel.org
Cc: "Erik Elfström" <erik.elfstrom@gmail.com>
Subject: [PATCH v2 0/3] Improving performance of git clean
Date: Sat, 11 Apr 2015 18:43:04 +0200 [thread overview]
Message-ID: <1428770587-9674-2-git-send-email-erik.elfstrom@gmail.com> (raw)
In-Reply-To: <1428770587-9674-1-git-send-email-erik.elfstrom@gmail.com>
v1 of the patch can be found here:
http://thread.gmane.org/gmane.comp.version-control.git/266839/focus=266839
changes in v2:
* fixed commit message,
"p7300: added performance tests for clean"
change to:
"p7300: add performance tests for clean"
* simplified test code
* removed non portable ls -A in test
* removed non portable $(seq ) in test
* fixed missing " || return $?" in test
* fixed missing sub shell for 'cd' command in test
* fixed broken && chains in test
* added assert new clean.c:is_git_repository to guard aginst
negative array index
* use size_t instead of int for strbuf->len
fixes held back for cleanup patches:
* fixed existing broken && chains
* added assert in existing code to guard gainst
negative array index
Thanks to Eric Sunshine and Torsten Bögershausen for the very helpful
review!
Erik Elfström (3):
t7300: add tests to document behavior of clean and nested git
p7300: add performance tests for clean
clean: improve performance when removing lots of directories
builtin/clean.c | 24 ++++++++++++++---
t/perf/p7300-clean.sh | 37 ++++++++++++++++++++++++++
t/t7300-clean.sh | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 129 insertions(+), 4 deletions(-)
create mode 100755 t/perf/p7300-clean.sh
--
2.4.0.rc0.37.ga3b75b3
next prev parent reply other threads:[~2015-04-11 16:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-11 16:43 [PATCH v2 0/3] Improving performance of git clean Erik Elfström
2015-04-11 16:43 ` Erik Elfström [this message]
2015-04-11 16:43 ` [PATCH v2 1/3] t7300: add tests to document behavior of clean and nested git Erik Elfström
2015-04-11 16:43 ` [PATCH v2 2/3] p7300: add performance tests for clean Erik Elfström
2015-04-11 17:59 ` Thomas Gummerer
2015-04-12 15:31 ` erik elfström
2015-04-12 16:52 ` Thomas Gummerer
2015-04-11 16:43 ` [PATCH v2 3/3] clean: improve performance when removing lots of directories Erik Elfström
2015-04-15 17:56 ` Junio C Hamano
2015-04-17 18:15 ` erik elfström
2015-04-17 19:00 ` Jeff King
2015-04-17 19:13 ` Junio C Hamano
2015-04-15 3:33 ` [PATCH v2 0/3] Improving performance of git clean Eric Sunshine
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=1428770587-9674-2-git-send-email-erik.elfstrom@gmail.com \
--to=erik.elfstrom@gmail.com \
--cc=git@vger.kernel.org \
/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).