Home | History | Annotate | Download | only in utils
      1 set terminal png
      2 
      3 ##------- Plot small Date vs LOC ----
      4 set output "running_loc.png"
      5 set xlabel "Date" 
      6 set ylabel "Lines of Code"
      7 set xdata time
      8 set timefmt "%Y-%m-%d-%H:%M:%S:"
      9 set format x "%b %d, %Y"
     10 
     11 set size .75,.75
     12 set xtics rotate
     13 set xlabel 0,-1
     14 plot "running_loc.txt" using 1:2 title '' with lines, \
     15      "running_loc.txt" using 1:2 title "Date vs. Lines of Code" with lines
     16 
     17 ##------- Plot large Date vs LOC ----
     18 set size 1.5,1.5
     19 set xtics norotate
     20 set xlabel 0,0
     21 set output "running_loc_large.png"
     22 plot "running_loc.txt" using 1:2 title '', \
     23      "running_loc.txt" using 1:2 title "Date vs. Lines of Code" with lines
     24 
     25 
     26 # Delete all labels...
     27 set nolabel
     28 
     29 ##------- Olden CBE performance ----
     30 
     31 set size .75,.75
     32 set xtics rotate
     33 set xlabel 0,-1
     34 set output "running_Olden_cbe_time.png"
     35 set ylabel "CBE compiled execution time (s)"
     36 plot "running_Olden_cbe_time.txt" u 1:2 t '' with lines, \
     37      "running_Olden_cbe_time.txt" u 1:2 t "bh" with lines, \
     38      "running_Olden_cbe_time.txt" u 1:3 t "em3d" with lines, \
     39      "running_Olden_cbe_time.txt" u 1:4 t "mst" with lines, \
     40      "running_Olden_cbe_time.txt" u 1:5 t "power" with lines, \
     41      "running_Olden_cbe_time.txt" u 1:6 t "tsp" with lines, \
     42      "running_Olden_cbe_time.txt" u 1:7 t "bisort" with lines, \
     43      "running_Olden_cbe_time.txt" u 1:8 t "health" with lines, \
     44      "running_Olden_cbe_time.txt" u 1:9 t "perimeter" with lines, \
     45      "running_Olden_cbe_time.txt" u 1:10 t "treeadd" with lines, \
     46      "running_Olden_cbe_time.txt" u 1:11 t "voronoi" \
     47    with lines
     48 
     49 set size 1.5,1.5
     50 set xtics norotate
     51 set xlabel 0,0
     52 set output "running_Olden_cbe_time_large.png"
     53 plot "running_Olden_cbe_time.txt" u 1:2 t '' with lines, \
     54      "running_Olden_cbe_time.txt" u 1:2 t "bh" with lines, \
     55      "running_Olden_cbe_time.txt" u 1:3 t "em3d" with lines, \
     56      "running_Olden_cbe_time.txt" u 1:4 t "mst" with lines, \
     57      "running_Olden_cbe_time.txt" u 1:5 t "power" with lines, \
     58      "running_Olden_cbe_time.txt" u 1:6 t "tsp" with lines, \
     59      "running_Olden_cbe_time.txt" u 1:7 t "bisort" with lines, \
     60      "running_Olden_cbe_time.txt" u 1:8 t "health" with lines, \
     61      "running_Olden_cbe_time.txt" u 1:9 t "perimeter" with lines, \
     62      "running_Olden_cbe_time.txt" u 1:10 t "treeadd" with lines, \
     63      "running_Olden_cbe_time.txt" u 1:11 t "voronoi" \
     64    with lines
     65 
     66 ##------- Olden JIT performance ----
     67 
     68 set size .75,.75
     69 set xtics rotate
     70 set xlabel 0,-1
     71 set output "running_Olden_jit_time.png"
     72 set ylabel "JIT execution time (s)"
     73 plot "running_Olden_jit_time.txt" u 1:2 t '' with lines, \
     74      "running_Olden_jit_time.txt" u 1:2 t "bh" with lines, \
     75      "running_Olden_jit_time.txt" u 1:3 t "em3d" with lines, \
     76      "running_Olden_jit_time.txt" u 1:4 t "mst" with lines, \
     77      "running_Olden_jit_time.txt" u 1:5 t "power" with lines, \
     78      "running_Olden_jit_time.txt" u 1:6 t "tsp" with lines, \
     79      "running_Olden_jit_time.txt" u 1:7 t "bisort" with lines, \
     80      "running_Olden_jit_time.txt" u 1:8 t "health" with lines, \
     81      "running_Olden_jit_time.txt" u 1:9 t "perimeter" with lines, \
     82      "running_Olden_jit_time.txt" u 1:10 t "treeadd" with lines, \
     83      "running_Olden_jit_time.txt" u 1:11 t "voronoi" \
     84    with lines
     85 
     86 set size 1.5,1.5
     87 set xtics norotate
     88 set xlabel 0,0
     89 set output "running_Olden_jit_time_large.png"
     90 plot "running_Olden_jit_time.txt" u 1:2 t '' with lines, \
     91      "running_Olden_jit_time.txt" u 1:2 t "bh" with lines, \
     92      "running_Olden_jit_time.txt" u 1:3 t "em3d" with lines, \
     93      "running_Olden_jit_time.txt" u 1:4 t "mst" with lines, \
     94      "running_Olden_jit_time.txt" u 1:5 t "power" with lines, \
     95      "running_Olden_jit_time.txt" u 1:6 t "tsp" with lines, \
     96      "running_Olden_jit_time.txt" u 1:7 t "bisort" with lines, \
     97      "running_Olden_jit_time.txt" u 1:8 t "health" with lines, \
     98      "running_Olden_jit_time.txt" u 1:9 t "perimeter" with lines, \
     99      "running_Olden_jit_time.txt" u 1:10 t "treeadd" with lines, \
    100      "running_Olden_jit_time.txt" u 1:11 t "voronoi" \
    101    with lines
    102 
    103 ##------- Olden LLC performance ----
    104 
    105 set size .75,.75
    106 set xtics rotate
    107 set xlabel 0,-1
    108 set output "running_Olden_llc_time.png"
    109 set ylabel "LLC compiled execution time (s)"
    110 plot "running_Olden_llc_time.txt" u 1:2 t '' with lines, \
    111      "running_Olden_llc_time.txt" u 1:2 t "bh" with lines, \
    112      "running_Olden_llc_time.txt" u 1:3 t "em3d" with lines, \
    113      "running_Olden_llc_time.txt" u 1:4 t "mst" with lines, \
    114      "running_Olden_llc_time.txt" u 1:5 t "power" with lines, \
    115      "running_Olden_llc_time.txt" u 1:6 t "tsp" with lines, \
    116      "running_Olden_llc_time.txt" u 1:7 t "bisort" with lines, \
    117      "running_Olden_llc_time.txt" u 1:8 t "health" with lines, \
    118      "running_Olden_llc_time.txt" u 1:9 t "perimeter" with lines, \
    119      "running_Olden_llc_time.txt" u 1:10 t "treeadd" with lines, \
    120      "running_Olden_llc_time.txt" u 1:11 t "voronoi" \
    121    with lines
    122 
    123 set size 1.5,1.5
    124 set xtics norotate
    125 set xlabel 0,0
    126 set output "running_Olden_llc_time_large.png"
    127 plot "running_Olden_llc_time.txt" u 1:2 t '' with lines, \
    128      "running_Olden_llc_time.txt" u 1:2 t "bh" with lines, \
    129      "running_Olden_llc_time.txt" u 1:3 t "em3d" with lines, \
    130      "running_Olden_llc_time.txt" u 1:4 t "mst" with lines, \
    131      "running_Olden_llc_time.txt" u 1:5 t "power" with lines, \
    132      "running_Olden_llc_time.txt" u 1:6 t "tsp" with lines, \
    133      "running_Olden_llc_time.txt" u 1:7 t "bisort" with lines, \
    134      "running_Olden_llc_time.txt" u 1:8 t "health" with lines, \
    135      "running_Olden_llc_time.txt" u 1:9 t "perimeter" with lines, \
    136      "running_Olden_llc_time.txt" u 1:10 t "treeadd" with lines, \
    137      "running_Olden_llc_time.txt" u 1:11 t "voronoi" \
    138    with lines
    139 
    140 
    141 ##------- Olden optimizer time ----
    142 
    143 set size .75,.75
    144 set xtics rotate
    145 set xlabel 0,-1
    146 set output "running_Olden_opt_time.png"
    147 set ylabel "Time to run the optimizer (s)"
    148 plot "running_Olden_opt_time.txt" u 1:2 t '' with lines, \
    149      "running_Olden_opt_time.txt" u 1:2 t "bh" with lines, \
    150      "running_Olden_opt_time.txt" u 1:3 t "em3d" with lines, \
    151      "running_Olden_opt_time.txt" u 1:4 t "mst" with lines, \
    152      "running_Olden_opt_time.txt" u 1:5 t "power" with lines, \
    153      "running_Olden_opt_time.txt" u 1:6 t "tsp" with lines, \
    154      "running_Olden_opt_time.txt" u 1:7 t "bisort" with lines, \
    155      "running_Olden_opt_time.txt" u 1:8 t "health" with lines, \
    156      "running_Olden_opt_time.txt" u 1:9 t "perimeter" with lines, \
    157      "running_Olden_opt_time.txt" u 1:10 t "treeadd" with lines, \
    158      "running_Olden_opt_time.txt" u 1:11 t "voronoi" \
    159    with lines
    160 
    161 set size 1.5,1.5
    162 set xtics norotate
    163 set xlabel 0,0
    164 set output "running_Olden_opt_time_large.png"
    165 plot "running_Olden_opt_time.txt" u 1:2 t '' with lines, \
    166      "running_Olden_opt_time.txt" u 1:2 t "bh" with lines, \
    167      "running_Olden_opt_time.txt" u 1:3 t "em3d" with lines, \
    168      "running_Olden_opt_time.txt" u 1:4 t "mst" with lines, \
    169      "running_Olden_opt_time.txt" u 1:5 t "power" with lines, \
    170      "running_Olden_opt_time.txt" u 1:6 t "tsp" with lines, \
    171      "running_Olden_opt_time.txt" u 1:7 t "bisort" with lines, \
    172      "running_Olden_opt_time.txt" u 1:8 t "health" with lines, \
    173      "running_Olden_opt_time.txt" u 1:9 t "perimeter" with lines, \
    174      "running_Olden_opt_time.txt" u 1:10 t "treeadd" with lines, \
    175      "running_Olden_opt_time.txt" u 1:11 t "voronoi" \
    176    with lines
    177 
    178 
    179 ##------- Bytecode size ----
    180 
    181 set size .75,.75
    182 set xtics rotate
    183 set xlabel 0,-1
    184 set output "running_Olden_bytecode.png"
    185 set ylabel "Program bytecode size (bytes)"
    186 plot "running_Olden_bytecode.txt" u 1:2 t '' with lines, \
    187      "running_Olden_bytecode.txt" u 1:2 t "bh" with lines, \
    188      "running_Olden_bytecode.txt" u 1:3 t "em3d" with lines, \
    189      "running_Olden_bytecode.txt" u 1:4 t "mst" with lines, \
    190      "running_Olden_bytecode.txt" u 1:5 t "power" with lines, \
    191      "running_Olden_bytecode.txt" u 1:6 t "tsp" with lines, \
    192      "running_Olden_bytecode.txt" u 1:7 t "bisort" with lines, \
    193      "running_Olden_bytecode.txt" u 1:8 t "health" with lines, \
    194      "running_Olden_bytecode.txt" u 1:9 t "perimeter" with lines, \
    195      "running_Olden_bytecode.txt" u 1:10 t "treeadd" with lines, \
    196      "running_Olden_bytecode.txt" u 1:11 t "voronoi" \
    197    with lines
    198 
    199 set size 1.5,1.5
    200 set xtics norotate
    201 set xlabel 0,0
    202 set output "running_Olden_bytecode_large.png"
    203 plot "running_Olden_bytecode.txt" u 1:2 t '' with lines, \
    204      "running_Olden_bytecode.txt" u 1:2 t "bh" with lines, \
    205      "running_Olden_bytecode.txt" u 1:3 t "em3d" with lines, \
    206      "running_Olden_bytecode.txt" u 1:4 t "mst" with lines, \
    207      "running_Olden_bytecode.txt" u 1:5 t "power" with lines, \
    208      "running_Olden_bytecode.txt" u 1:6 t "tsp" with lines, \
    209      "running_Olden_bytecode.txt" u 1:7 t "bisort" with lines, \
    210      "running_Olden_bytecode.txt" u 1:8 t "health" with lines, \
    211      "running_Olden_bytecode.txt" u 1:9 t "perimeter" with lines, \
    212      "running_Olden_bytecode.txt" u 1:10 t "treeadd" with lines, \
    213      "running_Olden_bytecode.txt" u 1:11 t "voronoi" \
    214    with lines
    215