summaryrefslogtreecommitdiff
path: root/t/perf/p1006-cat-file.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/perf/p1006-cat-file.sh')
-rwxr-xr-xt/perf/p1006-cat-file.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/perf/p1006-cat-file.sh b/t/perf/p1006-cat-file.sh
new file mode 100755
index 0000000..dcd8015
--- /dev/null
+++ b/t/perf/p1006-cat-file.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+test_description='Tests listing object info performance'
+. ./perf-lib.sh
+
+test_perf_large_repo
+
+test_perf 'cat-file --batch-check' '
+ git cat-file --batch-all-objects --batch-check
+'
+
+test_done