]>
Commit | Line | Data |
---|---|---|
5a5bd576 RS |
1 | #!/bin/sh |
2 | ||
3 | test_description='Tests the performance of various pretty format placeholders' | |
4 | ||
5 | . ./perf-lib.sh | |
6 | ||
7 | test_perf_default_repo | |
8 | ||
018b9deb | 9 | for format in %H %h %T %t %P %p %h-%h-%h %an-%ae-%s |
5a5bd576 RS |
10 | do |
11 | test_perf "log with $format" " | |
12 | git log --format=\"$format\" >/dev/null | |
13 | " | |
14 | done | |
15 | ||
16 | test_done |