mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 03:04:13 +08:00
mdbx-test: alter min/max for key/data length.
Change-Id: I863145b8567a2e3952826b68c7bef07787081bb6
This commit is contained in:
parent
289da70a67
commit
0ecc5226d6
@ -23,8 +23,9 @@ for nops in {7..1}; 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} --pagesize=min --size=8G --keylen.min=1 --keylen.max=250 --datalen.min=1 --datalen.max=1500 \
|
||||
seed=$(date +%N)
|
||||
echo "./mdbx_test --pathname=${TESTDB_PREFIX} --pagesize=min --size=8G --keylen.min=min --keylen.max=max --datalen.min=min --datalen.max=max --nops=$( rep9 $nops ) --batch.write=$( rep9 $wbatch ) --mode=$(bits2list options $bits) --keygen.seed=${seed} --hill"
|
||||
./mdbx_test --pathname=${TESTDB_PREFIX} --pagesize=min --size=8G --keylen.min=min --keylen.max=max --datalen.min=min --datalen.max=max \
|
||||
--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