aboutsummaryrefslogtreecommitdiff
path: root/testmain.sh
blob: 2c54dad0ad3eca0f4ea83da5a62d4e04b6663615 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
mkdir -p results
trials=1

for i in `seq 8 16`
do
    echo "logleaves "$i

    runs=$(echo '2^'"$i" | bc)

    echo "Doing "$trials"x"$runs" operations"
    for j in $(seq 1 $trials)
    do

        ./testall.sh $i $runs 2> results/run_"$i"_"$j".txt
        sleep .2

        # dummy
        ./testdummy.sh $i $runs 2> results/dummy_"$i"_"$j".txt
        sleep .2
    done
done