debian: use upstreamed git-gui build reproducibility patch
[git/debian.git] / t / perf / p0001-rev-list.sh
blobebf172401b0ff9c280ad14991323bd8aaf85b5e0
1 #!/bin/sh
3 test_description="Tests history walking performance"
5 . ./perf-lib.sh
7 test_perf_default_repo
9 test_perf 'rev-list --all' '
10 git rev-list --all >/dev/null
13 test_perf 'rev-list --all --objects' '
14 git rev-list --all --objects >/dev/null
17 test_expect_success 'create new unreferenced commit' '
18 commit=$(git commit-tree HEAD^{tree} -p HEAD) &&
19 test_export commit
22 test_perf 'rev-list $commit --not --all' '
23 git rev-list $commit --not --all >/dev/null
26 test_perf 'rev-list --objects $commit --not --all' '
27 git rev-list --objects $commit --not --all >/dev/null
30 test_done