Files
apfstests/run.dbenchmulti
T

22 lines
430 B
Bash
Raw Normal View History

2003-09-25 01:57:56 +00:00
#!/bin/sh
#
# Does several dbench runs with increasing numbers of client
#
[ -z "$here" ] && here=`pwd`
. $here/common.dbench
if [ $# -gt 0 ]; then
_format_header_multipass 1 2 10 20 #50
exit 0
fi
tmpfile=/var/tmp/dbench.$$
rm -f $tmpfile
_run_dbench 1 >> $tmpfile
_run_dbench 2 >> $tmpfile
_run_dbench 10 >> $tmpfile
_run_dbench 20 >> $tmpfile
#_run_dbench 50 >> $tmpfile
_filter_dbench_multipass < $tmpfile
rm -f $tmpfile