Skip to content

read-cache: speed up add_index_entry

[email protected] git 9 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v12 Latest5 patches 5 repliesIn review
  2. v115 patches 2 repliesSuperseded
  3. v103 patches 3 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v93 patches3 repliesSuperseded
v83 patches1 replySuperseded
v73 patches4 repliesSuperseded
v63 patches5 repliesSuperseded
v54 patches11 repliesSuperseded
v44 patches0 repliesSuperseded

Patches in v12 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5read-cache: add strcmp_offset functionMakefile cache.h read-cache.c +3 more+66 -00 replies
2/5p0006-read-tree-checkout: perf test to time read-treet/perf/p0006-read-tree-checkout.sh t/perf/repos/.gitignore t/perf/repos/inflate-repo.sh +1 more+264 -00 replies
3/5read-cache: speed up add_index_entry during checkoutread-cache.c+10 -10 replies
4/5read-cache: speed up has_dir_name (part 1)read-cache.c+45 -00 replies
5/5read-cache: speed up has_dir_name (part 2)read-cache.c+62 -15 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v12 yet.

Read the v12 thread

Cover letter [PATCH v12 0/5] read-cache: speed up add_index_entry

From: Jeff Hostetler <[email protected]>

Version 12 adds a new t/perf/repo/inflate-repo.sh script to let you inflate a test repo, such as a copy of git.git or linux.git, to have a branch containing a very large number of (non-synthetic) files.

It also fixes the "##" comments in the many-files.sh script as mentioned on the mailing list.

I've also updated the commit message on part 2 to show the results when run on an inflated copy of linux.git with 1M+ files.

Jeff Hostetler (5):
read-cache: add strcmp_offset function
p0006-read-tree-checkout: perf test to time read-tree
read-cache: speed up add_index_entry during checkout
read-cache: speed up has_dir_name (part 1)
read-cache: speed up has_dir_name (part 2)

 Makefile                           |   1 +
 cache.h                            |   1 +
 read-cache.c                       | 139 ++++++++++++++++++++++++++++++++++++-
 t/helper/.gitignore                |   1 +
 t/helper/test-strcmp-offset.c      |  22 ++++++
 t/perf/p0006-read-tree-checkout.sh |  67 ++++++++++++++++++
 t/perf/repos/.gitignore            |   1 +
 t/perf/repos/inflate-repo.sh       |  86 +++++++++++++++++++++++
 t/perf/repos/many-files.sh         | 110 +++++++++++++++++++++++++++++
 t/t0065-strcmp-offset.sh           |  21 ++++++
 10 files changed, 447 insertions(+), 2 deletions(-)
 create mode 100644 t/helper/test-strcmp-offset.c
 create mode 100755 t/perf/p0006-read-tree-checkout.sh
 create mode 100644 t/perf/repos/.gitignore
 create mode 100755 t/perf/repos/inflate-repo.sh
 create mode 100755 t/perf/repos/many-files.sh
 create mode 100755 t/t0065-strcmp-offset.sh
Signature · 1 line
2.9.3