git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
blob 3d35b3579dd44effa3f7479632bb079869dd9cc4 430 bytes (raw)
name: t/perf/p4002-diff-pathspec.sh 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
#!/bin/sh

test_description='diff performance with many pathspecs'
. ./perf-lib.sh

test_perf_default_repo

sizes='1 2 4 8 16 32 64 128 256 512 1024'

test_expect_success 'create pathspec lists' '
	git ls-tree --name-only -r HEAD >all &&
	for i in $sizes; do
		{
			printf "%s\n" -- &&
			head -$i all
		} >ps-$i
	done
'

for i in $sizes; do
	test_perf "size=$i" "
		git rev-list HEAD --stdin <ps-$i >/dev/null
	"
done

test_done

debug log:

solving 3d35b3579d ...
found 3d35b3579d in https://public-inbox.org/git/YN41crLqEwmRTy4G@coredump.intra.peff.net/

applying [1/1] https://public-inbox.org/git/YN41crLqEwmRTy4G@coredump.intra.peff.net/
diff --git a/t/perf/p4002-diff-pathspec.sh b/t/perf/p4002-diff-pathspec.sh
new file mode 100755
index 0000000000..3d35b3579d

Checking patch t/perf/p4002-diff-pathspec.sh...
Applied patch t/perf/p4002-diff-pathspec.sh cleanly.

index at:
100755 3d35b3579dd44effa3f7479632bb079869dd9cc4	t/perf/p4002-diff-pathspec.sh

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).