8 echo "Auto commit btree transaction tests:" >&2
9 $prog -s b -m t -t a -T 200 -k 50 -l 100 -c 33554432 -n $total && mv gmon.out gmon${i}.out
12 echo "Transaction btree tests:" >&2
13 $prog -s b -m t -t e -T 200 -k 50 -l 100 -c 33554432 -n $total && mv gmon.out gmon${i}.out
15 echo "CDS btree tests:" >&2
16 $prog -s b -m c -T 200 -k 50 -l 100 -c 33554432 -n $total && mv gmon.out gmon${i}.out
19 echo "DS btree tests:" >&2
20 $prog -s b -T 200 -k 50 -l 100 -c 33554432 -n $total && mv gmon.out gmon${i}.out
23 echo "Auto commit hash transaction tests:" >&2
24 $prog -s h -m t -t a -T 200 -k 50 -l 100 -c 33554432 -n $total && mv gmon.out gmon${i}.out
27 echo "Transaction hash tests:" >&2
28 $prog -s h -m t -t e -T 200 -k 50 -l 100 -c 33554432 -n $total && mv gmon.out gmon${i}.out
31 echo "CDS hash tests:" >&2
32 $prog -s h -m c -T 200 -k 50 -l 100 -c 33554432 -n $total && mv gmon.out gmon${i}.out
35 echo "DS hash tests:" >&2
36 $prog -s h -T 200 -k 50 -l 100 -c 33554432 -n $total && mv gmon.out gmon${i}.out
40 if test $# -ne 1 ; then
41 echo "Usage: sh run_test.sh number-of-run-in-a-loop"
49 if test $os = "CYGWIN_NT-5.1" ; then
50 run_test "../build_windows/Win32/Debug/test.exe"
52 run_test "../build_unix/test_dbstl"
58 while [ $ii -lt $i ]; do
59 profiles="${profiles} gmon${ii}.out"
62 echo "Generating profiling report..." >&2
63 gprof $1/.libs/test_dbstl $profiles > gprof.out