aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-07-31 21:40:12 -0400
committerFranklin Wei <me@fwei.tk>2018-07-31 21:40:12 -0400
commit16b0dcb515d69a2a5cb5d30b8935dba1c8e31a20 (patch)
tree7af4b74ca9b9cd9ca24480fea535ad5a43765fc9
parent18f15a53d7739361fe40839274d8568282cd4459 (diff)
downloadcsaa-16b0dcb515d69a2a5cb5d30b8935dba1c8e31a20.zip
csaa-16b0dcb515d69a2a5cb5d30b8935dba1c8e31a20.tar.gz
csaa-16b0dcb515d69a2a5cb5d30b8935dba1c8e31a20.tar.bz2
csaa-16b0dcb515d69a2a5cb5d30b8935dba1c8e31a20.tar.xz
Reverse nesting order of testing loops
We can now get progressively refined graphs, which is nice. :)
-rwxr-xr-xtabulate.sh2
-rwxr-xr-xtestmain_preinit.sh12
2 files changed, 7 insertions, 7 deletions
diff --git a/tabulate.sh b/tabulate.sh
index 9ddcad4..136bcce 100755
--- a/tabulate.sh
+++ b/tabulate.sh
@@ -1,6 +1,6 @@
#!/bin/bash
logleaves_start=10
-logleaves_end=12
+logleaves_end=25
trials=1
runs_test=500
diff --git a/testmain_preinit.sh b/testmain_preinit.sh
index da7ca20..1c49ff3 100755
--- a/testmain_preinit.sh
+++ b/testmain_preinit.sh
@@ -4,15 +4,15 @@ trials=1
runs_test=500
# minimum is ceil(lg(runs_test)), otherwise modify will fail
-for i in `seq 10 12`
+for j in $(seq 1 $trials)
do
- echo "logleaves "$i
+ for i in `seq 10 12`
+ do
+ echo "logleaves "$i
- runs_create=$(echo '2^'"$i" | bc)
+ runs_create=$(echo '2^'"$i" | bc)
- echo "Doing "$trials"x"$runs_test" operations, with prepopulated database"
- for j in $(seq 1 $trials)
- do
+ echo "Doing "$trials"x"$runs_test" operations, with prepopulated database"
./testall_preinit.sh $i $runs_test 2> results/run_"$i"_"$j".txt
sleep .2