Browse Source

Be able to run the tests for each of the figures separately

Ian Goldberg 3 months ago
parent
commit
2840ccb8b8
1 changed files with 10 additions and 2 deletions
  1. 10 2
      prac/repro

+ 10 - 2
prac/repro

@@ -94,16 +94,24 @@ fi
 now=`date`
 echo "$now: Starting experiments"
 
-if [ "$whichexps" = "all" ]; then
-    echo "Running experiments..."
+if [ "$whichexps" = "fig6" -o "$whichexps" = "all" ]; then
+    echo "Running Figure 6 experiments..."
     # Figure 6(a)
     ./generate_raw_data_reads_const_db.sh ${numiters}
     # Figures 6(b) and 6(c)
     ./generate_raw_data_reads.sh ${numiters}
+fi
+
+if [ "$whichexps" = "fig7" -o "$whichexps" = "all" ]; then
+    echo "Running Figure 7 experiments..."
     # Figure 7(a)
     ./generate_raw_data_bs_const_db.sh ${numiters}
     # Figures 7(b) and 7(c)
     ./generate_raw_data_bs.sh ${numiters}
+fi
+
+if [ "$whichexps" = "fig8" -o "$whichexps" = "all" ]; then
+    echo "Running Figure 8 experiments..."
     # Figure 8(a)
     ./generate_raw_data_heap_const_db.sh ${numiters}
     # Figures 8(b) and 8(c)