Skip to content

Commit 1af8b01

Browse files
derrickstoleegitster
authored andcommitted
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 <[email protected]> Reviewed-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6867272 commit 1af8b01

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

t/perf/p4211-line-log.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,8 @@ test_perf 'git log -L (renames on)' '
3131
git log -M -L 1:"$file" >/dev/null
3232
'
3333

34+
test_perf 'git log --oneline --raw --parents' '
35+
git log --oneline --raw --parents >/dev/null
36+
'
37+
3438
test_done

0 commit comments

Comments
 (0)