Merge branch 'rs/disable-gc-during-perf-tests'
Avoid performance measurements from getting ruined by gc and other housekeeping pauses interfering in the middle. * rs/disable-gc-during-perf-tests: perf: disable automatic housekeeping
This commit is contained in:
commit
525705a0a2
2
t/perf/config
Normal file
2
t/perf/config
Normal file
@ -0,0 +1,2 @@
|
||||
[gc]
|
||||
auto = 0
|
@ -27,6 +27,10 @@ TEST_NO_MALLOC_CHECK=t
|
||||
|
||||
. ../test-lib.sh
|
||||
|
||||
unset GIT_CONFIG_NOSYSTEM
|
||||
GIT_CONFIG_SYSTEM="$TEST_DIRECTORY/perf/config"
|
||||
export GIT_CONFIG_SYSTEM
|
||||
|
||||
if test -n "$GIT_TEST_INSTALLED" -a -z "$PERF_SET_GIT_TEST_INSTALLED"
|
||||
then
|
||||
error "Do not use GIT_TEST_INSTALLED with the perf tests.
|
||||
|
Loading…
Reference in New Issue
Block a user