diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2017-10-08 14:49:39 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-13 09:25:45 +0900 |
commit | 1af8b013099329336343f89c871f6be2cfbec4f1 (patch) | |
tree | 2dd7282edb1053f6cdc39313e0e07c3bae55fd6b | |
parent | Sync with maint (diff) | |
download | tgif-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>
-rwxr-xr-x | t/perf/p4211-line-log.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/perf/p4211-line-log.sh b/t/perf/p4211-line-log.sh index b7ff68d4fa..e0ed05907c 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 |