p4211-line-log.sh: add log --online --raw --parents perf test

Add a new perf test for testing the performance of log while computing OID abbreviations. Using --oneline --raw and --parents options maximizes the number of OIDs to abbreviate while still spending some time computing diffs. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Derrick Stolee committed Oct 8, 2017 at 14:49 UTC 1af8b013099329336343f89c871f6be2cfbec4f1
1 file changed +4
t/perf/p4211-line-log.sh
+4
@@ -31,4 +31,8 @@ test_perf 'git log -L (renames on)' '
31 git log -M -L 1:"$file" >/dev/null
32 '
33
34 +test_perf 'git log --oneline --raw --parents' '
35 + git log --oneline --raw --parents >/dev/null
36 +'
37 +
38 test_done