git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/7] Improving performance of git clean
@ 2015-05-10 20:00 Erik Elfström
  2015-05-10 20:00 ` [PATCH v6 1/7] setup: add gentle version of is_git_directory Erik Elfström
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Erik Elfström @ 2015-05-10 20:00 UTC (permalink / raw)
  To: git; +Cc: Erik Elfström

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

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

end of thread, other threads:[~2015-05-12  6:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-10 20:00 [PATCH v6 0/7] Improving performance of git clean Erik Elfström
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

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).