| test_description="Test pickaxe performance" |
| # Not --max-count, as that's the number of matching commit, so it's |
| # unbounded. We want to limit our revision walk here. |
| if test_have_prereq EXPENSIVE |
| from_rev=" $(git rev-list HEAD | head -n $max_count | tail -n 1).." |
| from_rev_desc=" <limit-rev>.." |
| test_perf "git log $icase$opts'$pattern'$from_rev_desc" " |
| git log --pretty=format:%H $icase$opts'$pattern'$from_rev |
| test_perf "git log $icase$opts'$pattern'$from_rev_desc" " |
| git log --pretty=format:%H $icase$opts'$pattern'$from_rev |
| test_perf "git log $icase$opts'$pattern'$from_rev_desc" " |
| git log --pretty=format:%H $icase$opts'$pattern'$from_rev |