In the speed-check.sh script, make WAL mode the default. Add the --legacy

option to do DELETE mode.  Continue to use DELETE mode for long-term performance
graphs since WAL mode was not always available, but use WAL mode for 
day-to-day performance measurements.

FossilOrigin-Name: cd81613850c0458b4b5b2460b9b38ce7ff6e557f7add9615058bb96f5a344ccd
This commit is contained in:
drh
2018-02-20 17:02:31 +00:00
parent 3993678d3d
commit 7436f1e491
3 changed files with 15 additions and 8 deletions
+8 -1
View File
@@ -40,6 +40,7 @@ BASELINE="trunk"
doExplain=0
doCachegrind=1
doVdbeProfile=0
doWal=1
while test "$1" != ""; do
case $1 in
--reprepare)
@@ -63,8 +64,11 @@ while test "$1" != ""; do
--temp)
SPEEDTEST_OPTS="$SPEEDTEST_OPTS --temp 6"
;;
--legacy)
doWal=0
;;
--wal)
SPEEDTEST_OPTS="$SPEEDTEST_OPTS --journal wal"
doWal=1
;;
--size)
shift; SIZE=$1
@@ -134,6 +138,9 @@ while test "$1" != ""; do
esac
shift
done
if test $doWal -eq 1; then
SPEEDTEST_OPTS="$SPEEDTEST_OPTS --journal wal"
fi
SPEEDTEST_OPTS="$SPEEDTEST_OPTS --size $SIZE"
echo "NAME = $NAME" | tee summary-$NAME.txt
echo "SPEEDTEST_OPTS = $SPEEDTEST_OPTS" | tee -a summary-$NAME.txt