mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 02:04:13 +08:00
mdbx-test: update GC-test script.
Change-Id: Id55f69439b0632f5992af99e70eac5ecb6af0dcc
This commit is contained in:
parent
c7a6e9c8ae
commit
490addef18
@ -18,13 +18,13 @@ function bits2list {
|
||||
join , "${list[@]}"
|
||||
}
|
||||
|
||||
for nops in {1..7}; do
|
||||
for nops in {7..1}; do
|
||||
for ((wbatch=nops; wbatch > 0; --wbatch)); do
|
||||
for ((bits=2**${#options[@]}; --bits >= 0; )); do
|
||||
echo "=================================== $(date)"
|
||||
rm -f ${TESTDB_PREFIX}*
|
||||
echo --nops=$( rep9 $nops ) --batch.write=$( rep9 $wbatch ) --mode=$(bits2list options $bits)
|
||||
./mdbx_test --pathname=${TESTDB_PREFIX} --size=8G --keylen.min=1 --keylen.max=250 --datalen.min=1 --datalen.max=500 \
|
||||
./mdbx_test --pathname=${TESTDB_PREFIX} --pagesize=min --size=8G --keylen.min=1 --keylen.max=250 --datalen.min=1 --datalen.max=1500 \
|
||||
--nops=$( rep9 $nops ) --batch.write=$( rep9 $wbatch ) --mode=$(bits2list options $bits) \
|
||||
--keygen.seed=$(date +%N) --hill | bzip2 -c > ${TESTDB_PREFIX}.log.bz2
|
||||
./mdbx_chk -nvv ${TESTDB_PREFIX} | tee ${TESTDB_PREFIX}-chk.log
|
||||
|
Loading…
x
Reference in New Issue
Block a user