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 -1000 >/dev/null
11 '
13 test_perf 'log --raw -3000 (tree-only)' '
14 git log --raw -3000 >/dev/null
15 '
17 test_perf 'log -p -3000 (Myers)' '
18 git log -p -3000 >/dev/null
19 '
21 test_perf 'log -p -3000 --histogram' '
22 git log -p -3000 --histogram >/dev/null
23 '
25 test_perf 'log -p -3000 --patience' '
26 git log -p -3000 --patience >/dev/null
27 '
29 test_done