aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2017-10-08 14:49:39 -0400
committerJunio C Hamano <gitster@pobox.com>2017-10-13 09:25:45 +0900
commit1af8b013099329336343f89c871f6be2cfbec4f1 (patch)
tree2dd7282edb1053f6cdc39313e0e07c3bae55fd6b /t
parent6867272d5b5615bd74ec97bf35b4c4a8d9fe3a51 (diff)
downloadgit-1af8b013099329336343f89c871f6be2cfbec4f1.tar.gz
git-1af8b013099329336343f89c871f6be2cfbec4f1.tar.xz
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>
Diffstat (limited to 't')
-rwxr-xr-xt/perf/p4211-line-log.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/perf/p4211-line-log.sh b/t/perf/p4211-line-log.sh
index b7ff68d4f..e0ed05907 100755
--- a/t/perf/p4211-line-log.sh
+++ b/t/perf/p4211-line-log.sh
@@ -31,4 +31,8 @@ test_perf 'git log -L (renames on)' '
git log -M -L 1:"$file" >/dev/null
'
+test_perf 'git log --oneline --raw --parents' '
+ git log --oneline --raw --parents >/dev/null
+'
+
test_done