p0071: measure sorting of already sorted and reversed files
commit84edc40676c5b21df872ec5004a48f706486961f
authorRené Scharfe <l.s.r@web.de>
Fri, 1 Oct 2021 09:19:04 +0000 (1 11:19 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Oct 2021 19:43:09 +0000 (1 12:43 -0700)
tree21926066612493ad93f0e7841f4a5e388946f6aa
parentf1ed4ce9e314a7d21229f2fa9004d6faa512293c
p0071: measure sorting of already sorted and reversed files

Check if sorting takes advantage of already sorted or reversed content,
or if that corner case actually decreases performance, like it would for
a simplistic quicksort implementation.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/p0071-sort.sh