archive: handle commits with an empty tree
[git/jnareb-git.git] / t / perf / p4000-diff-algorithms.sh
blob7e00c9da47d7a37e498a2b2326578f79a4c33e4f
1 #!/bin/sh
3 test_description="Tests diff generation performance"
5 . ./perf-lib.sh
7 test_perf_default_repo
9 test_perf 'log -3000 (baseline)' '
10 git log -3000 >/dev/null
13 test_perf 'log --raw -3000 (tree-only)' '
14 git log --raw -3000 >/dev/null
17 test_perf 'log -p -3000 (Myers)' '
18 git log -p -3000 >/dev/null
21 test_perf 'log -p -3000 --histogram' '
22 git log -p -3000 --histogram >/dev/null
25 test_perf 'log -p -3000 --patience' '
26 git log -p -3000 --patience >/dev/null
29 test_done