1#!/bin/sh
23
test_description='performance of filter-branch'
4. ./perf-lib.sh
56
test_perf_default_repo
7test_checkout_worktree
89
test_expect_success 'mark bases for tests' '
10git tag -f tip &&
11git tag -f base HEAD~100
12'
1314
test_perf 'noop filter' '
15git checkout --detach tip &&
16git filter-branch -f base..HEAD
17'
1819
test_perf 'noop prune-empty' '
20git checkout --detach tip &&
21git filter-branch -f --prune-empty base..HEAD
22'
2324
test_done