mirror of
https://github.com/git/git.git
synced 2024-11-24 10:26:17 +08:00
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>
This commit is contained in:
parent
6867272d5b
commit
1af8b01309
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user