Skip to content

Improving performance of git clean

Erik Elfström git 9 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest5 patches 5 repliesIn review
  2. v75 patches 3 repliesSuperseded
  3. v67 patches 1 replySuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v55 patches21 repliesSuperseded
v45 patches5 repliesSuperseded
v34 patches9 repliesSuperseded
v2 posting 2/20 of 3 patches0 repliesSuperseded
v2 posting 1/23 patches8 repliesSuperseded
v13 patches10 repliesSuperseded

Changes in v8 from the cover letter

* change name and type of file size limit variable in read_git_file_gently

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5setup: add gentle version of read_gitfilecache.h setup.c+75 -204 replies
2/5setup: sanity check file size in read_gitfile_gentlycache.h setup.c+8 -00 replies
3/5t7300: add tests to document behavior of clean and nested gitt/t7300-clean.sh+142 -00 replies
4/5p7300: add performance tests for cleant/perf/p7300-clean.sh+31 -00 replies
5/5clean: improve performance when removing lots of directoriesbuiltin/clean.c t/t7300-clean.sh+30 -100 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchJunio C HamanoJeff King
1/5Helped-by Helped-by
2/5
3/5
4/5
5/5Helped-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [PATCH v8 0/5] Improving performance of git clean

This is v8 of this series. v7 can be found here:

http://thread.gmane.org/gmane.comp.version-control.git/271220

Changes in v8:
* change name and type of file size limit variable in read_git_file_gently

Erik Elfström (5):
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

 builtin/clean.c       |  30 +++++++++--
 cache.h               |  12 ++++-
 setup.c               |  91 +++++++++++++++++++++++++-------
 t/perf/p7300-clean.sh |  31 +++++++++++
 t/t7300-clean.sh      | 140 ++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 280 insertions(+), 24 deletions(-)
 create mode 100755 t/perf/p7300-clean.sh
Signature · 1 line
2.4.3.373.gc496bfb.dirty