summaryrefslogtreecommitdiff
path: root/t/perf/p4205-log-pretty-formats.sh
blob: 7c26f4f3378829329dc399e308e54e3eae946b35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

test_description='Tests the performance of various pretty format placeholders'

. ./perf-lib.sh

test_perf_default_repo

for format in %H %h %T %t %P %p %h-%h-%h
do
	test_perf "log with $format" "
		git log --format=\"$format\" >/dev/null
	"
done

test_done