From: "Erik Elfström" <erik.elfstrom@gmail.com>
To: git@vger.kernel.org
Cc: "Erik Elfström" <erik.elfstrom@gmail.com>
Subject: [PATCH v6 0/7] Improving performance of git clean
Date: Sun, 10 May 2015 22:00:34 +0200 [thread overview]
Message-ID: <1431288041-21077-1-git-send-email-erik.elfstrom@gmail.com> (raw)
Here is v6 of of this series. v5 can be found at:
http://thread.gmane.org/gmane.comp.version-control.git/267823
Sorry for the slow progress on this, I've been busy with other things.
Changes in v6:
* added gentle version of is_git_directory and used it in
read_gitfile_gently
* use 1MB as size limit for read_gitfile_gently instead of
PATH_MAX*4
* fixed file descriptor leak in read_gitfile_gently
* avoid cleaning if we can't open, read or validate the path in a git
file (we used to die on these cases).
* added one more testcase to cover the behavior mention above.
* switched to default repo in performance test
Erik Elfström (7):
setup: add gentle version of is_git_directory
setup: add gentle version of read_gitfile
setup: sanity check file size in read_gitfile_gently
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
RFC: Change error handling scheme in read_gitfile_gently
builtin/clean.c | 32 ++++++++--
cache.h | 16 +++++
setup.c | 158 +++++++++++++++++++++++++++++++++++++++++++-------
t/perf/p7300-clean.sh | 31 ++++++++++
t/t7300-clean.sh | 144 +++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 355 insertions(+), 26 deletions(-)
create mode 100755 t/perf/p7300-clean.sh
--
2.4.0.60.gf7143f7
next reply other threads:[~2015-05-10 20:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-10 20:00 Erik Elfström [this message]
2015-05-10 20:00 ` [PATCH v6 1/7] setup: add gentle version of is_git_directory Erik Elfström
2015-05-10 20:00 ` [PATCH v6 2/7] setup: add gentle version of read_gitfile Erik Elfström
2015-05-10 20:00 ` [PATCH v6 3/7] setup: sanity check file size in read_gitfile_gently Erik Elfström
2015-05-12 6:46 ` erik elfström
2015-05-10 20:00 ` [PATCH v6 4/7] t7300: add tests to document behavior of clean and nested git Erik Elfström
2015-05-10 20:00 ` [PATCH v6 5/7] p7300: add performance tests for clean Erik Elfström
2015-05-10 20:00 ` [PATCH v6 6/7] clean: improve performance when removing lots of directories Erik Elfström
2015-05-10 20:00 ` [PATCH v6 7/7] RFC: Change error handling scheme in read_gitfile_gently Erik Elfström
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=1431288041-21077-1-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).