mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-30 11:29:19 +08:00
mdbx-testing: уменьшение мощности "tmux-батарейного" теста вдвое (под "более типовую" виртуалку).
This commit is contained in:
parent
0c9f531c72
commit
7511f480a4
@ -14,7 +14,7 @@ tmux -f ./test/tmux.conf new-session -d -s mdbx htop
|
|||||||
W=0
|
W=0
|
||||||
for ps in min 4k max; do
|
for ps in min 4k max; do
|
||||||
for from in 1 30000; do
|
for from in 1 30000; do
|
||||||
for n in 0 1 2 3 4 5 6 7; do
|
for n in 0 1 2 3; do
|
||||||
CMD="${TEST} --delay $((n * 7)) --page-size ${ps} --from ${from} --dir ${PREFIX}page-${ps}.from-${from}.${n}"
|
CMD="${TEST} --delay $((n * 7)) --page-size ${ps} --from ${from} --dir ${PREFIX}page-${ps}.from-${from}.${n}"
|
||||||
if [ $n -eq 0 ]; then
|
if [ $n -eq 0 ]; then
|
||||||
tmux new-window -t mdbx:$((++W)) -n "page-${ps}.from-${from}" -k -d "$CMD"
|
tmux new-window -t mdbx:$((++W)) -n "page-${ps}.from-${from}" -k -d "$CMD"
|
||||||
@ -23,7 +23,7 @@ for ps in min 4k max; do
|
|||||||
tmux split-window -t mdbx:$W -l 20% -d $CMD
|
tmux split-window -t mdbx:$W -l 20% -d $CMD
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
for n in 0 1 2 3 4 5 6 7; do
|
for n in 0 1 2 3; do
|
||||||
CMD="${TEST} --delay $((3 + n * 7)) --extra --page-size ${ps} --from ${from} --dir ${PREFIX}page-${ps}.from-${from}.${n}-extra"
|
CMD="${TEST} --delay $((3 + n * 7)) --extra --page-size ${ps} --from ${from} --dir ${PREFIX}page-${ps}.from-${from}.${n}-extra"
|
||||||
if [ $n -eq 0 ]; then
|
if [ $n -eq 0 ]; then
|
||||||
tmux new-window -t mdbx:$((++W)) -n "page-${ps}.from-${from}-extra" -k -d "$CMD"
|
tmux new-window -t mdbx:$((++W)) -n "page-${ps}.from-${from}-extra" -k -d "$CMD"
|
||||||
|
Loading…
Reference in New Issue
Block a user