http: make http_get_file() external
[alt-git.git] / t / perf / p9300-fast-import-export.sh
blob586161e9adcdb1d09469357ab0b6d87b5a851b6f
1 #!/bin/sh
3 test_description='test fast-import and fast-export performance'
4 . ./perf-lib.sh
6 test_perf_default_repo
8 # Use --no-data here to produce a vastly smaller export file.
9 # This is much cheaper to work with but should still exercise
10 # fast-import pretty well (we'll still process all commits and
11 # trees, which account for 60% or more of objects in most repos).
13 # Use --reencode to avoid the default of aborting on non-utf8 commits,
14 # which lets this test run against a wider variety of sample repos.
15 test_perf 'export (no-blobs)' '
16 git fast-export --reencode=yes --no-data HEAD >export
19 test_perf 'import (no-blobs)' '
20 git fast-import --force <export
23 test_done