path: root/t/perf/
diff options
authorJeff King <>2016-06-22 19:40:51 (GMT)
committerJunio C Hamano <>2016-06-22 20:47:55 (GMT)
commit85a727895d6868e98c3f72e25e371dcb867d6b69 (patch)
tree1ee8e08f1714fbbc289799a5da436ae04430ddf0 /t/perf/
parent1a0962dee51addaa44a53f9d9782e8231d27cc96 (diff)
p4211: explicitly disable renames in no-rename test
p4211 tests line-log performance both with and without "-M". In v2.9.0, the case without "-M" appears to have regressed badly, but that is only because we flipped on renames by default. Let's have the test explicitly disable renames to get consistent timings (and to match the presumed intent of the test, which is to see the effects with and without renames). Signed-off-by: Jeff King <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 't/perf/')
1 files changed, 3 insertions, 3 deletions
diff --git a/t/perf/ b/t/perf/
index 3d074b0..b7ff68d 100755
--- a/t/perf/
+++ b/t/perf/
@@ -23,11 +23,11 @@ test_perf 'git log --follow (baseline for -M)' '
git log --oneline --follow -- "$file" >/dev/null
-test_perf 'git log -L' '
- git log -L 1:"$file" >/dev/null
+test_perf 'git log -L (renames off)' '
+ git log --no-renames -L 1:"$file" >/dev/null
-test_perf 'git log -M -L' '
+test_perf 'git log -L (renames on)' '
git log -M -L 1:"$file" >/dev/null