mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
e9f66b9741
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11596 91177308-0d34-0410-b5e6-96231b3b80d8
234 lines
10 KiB
Gnuplot
234 lines
10 KiB
Gnuplot
set terminal png
|
|
|
|
##------- Plot small Date vs LOC ----
|
|
set output "running_loc.png"
|
|
set xlabel "Date"
|
|
set ylabel "Lines of Code"
|
|
set xdata time
|
|
set timefmt "%Y-%m-%d:"
|
|
set format x "%b %d, %Y"
|
|
|
|
## Various labels for the graph
|
|
set label "Reoptimizer\n checkins" at "2003-02-18:", 114000
|
|
set label "Modulo Sched\n checkin" at "2003-03-28:", 119500
|
|
set label "Reoptimizer\n checkins" at "2003-06-01:", 134000
|
|
set label "'dummy'\nfunction" at "2003-07-20:", 150000
|
|
set label "Reoptimizer\n removal" at "2003-08-10:", 132000
|
|
set label "llvm-db\ncheckin" at "2004-01-04:", 145000
|
|
set label "llvm/projects" at "2004-01-04:", 151000
|
|
|
|
set size .75,.75
|
|
plot "running_loc.txt" using 1:2 title '' with lines, \
|
|
"running_loc.txt" using 1:2 title "Date vs. Lines of Code" with lines
|
|
|
|
##------- Plot large Date vs LOC ----
|
|
set size 1.5,1.5
|
|
set output "running_loc_large.png"
|
|
plot "running_loc.txt" using 1:2 title '', \
|
|
"running_loc.txt" using 1:2 title "Date vs. Lines of Code" with lines
|
|
|
|
|
|
# Delete all labels...
|
|
set nolabel
|
|
|
|
##------- Olden CBE performance ----
|
|
|
|
set size .75,.75
|
|
set output "running_Olden_cbe_time.png"
|
|
set ylabel "CBE compiled execution time (s)"
|
|
plot "running_Olden_cbe_time.txt" u 1:2 t '' with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:2 t "bh" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:3 t "bisort" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:4 t "em3d" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:5 t "health" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:6 t "mst" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:7 t "perimeter" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:8 t "power" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:9 t "treeadd" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:10 t "tsp" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:11 t "voronoi" \
|
|
with lines
|
|
|
|
set size 1.5,1.5
|
|
set output "running_Olden_cbe_time_large.png"
|
|
plot "running_Olden_cbe_time.txt" u 1:2 t '' with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:2 t "bh" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:3 t "bisort" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:4 t "em3d" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:5 t "health" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:6 t "mst" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:7 t "perimeter" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:8 t "power" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:9 t "treeadd" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:10 t "tsp" with lines, \
|
|
"running_Olden_cbe_time.txt" u 1:11 t "voronoi" \
|
|
with lines
|
|
|
|
##------- Olden JIT performance ----
|
|
|
|
set size .75,.75
|
|
set output "running_Olden_jit_time.png"
|
|
set ylabel "JIT execution time (s)"
|
|
plot "running_Olden_jit_time.txt" u 1:2 t '' with lines, \
|
|
"running_Olden_jit_time.txt" u 1:2 t "bh" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:3 t "bisort" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:4 t "em3d" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:5 t "health" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:6 t "mst" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:7 t "perimeter" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:8 t "power" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:9 t "treeadd" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:10 t "tsp" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:11 t "voronoi" \
|
|
with lines
|
|
|
|
set size 1.5,1.5
|
|
set output "running_Olden_jit_time_large.png"
|
|
plot "running_Olden_jit_time.txt" u 1:2 t '' with lines, \
|
|
"running_Olden_jit_time.txt" u 1:2 t "bh" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:3 t "bisort" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:4 t "em3d" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:5 t "health" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:6 t "mst" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:7 t "perimeter" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:8 t "power" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:9 t "treeadd" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:10 t "tsp" with lines, \
|
|
"running_Olden_jit_time.txt" u 1:11 t "voronoi" \
|
|
with lines
|
|
|
|
##------- Olden LLC performance ----
|
|
|
|
set size .75,.75
|
|
set output "running_Olden_llc_time.png"
|
|
set ylabel "LLC compiled execution time (s)"
|
|
plot "running_Olden_llc_time.txt" u 1:2 t '' with lines, \
|
|
"running_Olden_llc_time.txt" u 1:2 t "bh" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:3 t "bisort" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:4 t "em3d" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:5 t "health" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:6 t "mst" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:7 t "perimeter" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:8 t "power" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:9 t "treeadd" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:10 t "tsp" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:11 t "voronoi" \
|
|
with lines
|
|
|
|
set size 1.5,1.5
|
|
set output "running_Olden_llc_time_large.png"
|
|
plot "running_Olden_llc_time.txt" u 1:2 t '' with lines, \
|
|
"running_Olden_llc_time.txt" u 1:2 t "bh" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:3 t "bisort" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:4 t "em3d" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:5 t "health" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:6 t "mst" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:7 t "perimeter" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:8 t "power" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:9 t "treeadd" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:10 t "tsp" with lines, \
|
|
"running_Olden_llc_time.txt" u 1:11 t "voronoi" \
|
|
with lines
|
|
|
|
|
|
##------- Olden optimizer time ----
|
|
|
|
set size .75,.75
|
|
set output "running_Olden_opt_time.png"
|
|
set ylabel "Time to run the optimizer (s)"
|
|
plot "running_Olden_opt_time.txt" u 1:2 t '' with lines, \
|
|
"running_Olden_opt_time.txt" u 1:2 t "bh" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:3 t "bisort" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:4 t "em3d" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:5 t "health" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:6 t "mst" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:7 t "perimeter" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:8 t "power" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:9 t "treeadd" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:10 t "tsp" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:11 t "voronoi" \
|
|
with lines
|
|
|
|
set size 1.5,1.5
|
|
set output "running_Olden_opt_time_large.png"
|
|
plot "running_Olden_opt_time.txt" u 1:2 t '' with lines, \
|
|
"running_Olden_opt_time.txt" u 1:2 t "bh" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:3 t "bisort" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:4 t "em3d" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:5 t "health" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:6 t "mst" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:7 t "perimeter" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:8 t "power" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:9 t "treeadd" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:10 t "tsp" with lines, \
|
|
"running_Olden_opt_time.txt" u 1:11 t "voronoi" \
|
|
with lines
|
|
|
|
|
|
##------- Machine code size ----
|
|
|
|
set size .75,.75
|
|
set output "running_Olden_machcode.png"
|
|
set ylabel "Program machine code size (bytes)"
|
|
plot "running_Olden_machcode.txt" u 1:2 t '' with lines, \
|
|
"running_Olden_machcode.txt" u 1:2 t "bh" with lines, \
|
|
"running_Olden_machcode.txt" u 1:3 t "bisort" with lines, \
|
|
"running_Olden_machcode.txt" u 1:4 t "em3d" with lines, \
|
|
"running_Olden_machcode.txt" u 1:5 t "health" with lines, \
|
|
"running_Olden_machcode.txt" u 1:6 t "mst" with lines, \
|
|
"running_Olden_machcode.txt" u 1:7 t "perimeter" with lines, \
|
|
"running_Olden_machcode.txt" u 1:8 t "power" with lines, \
|
|
"running_Olden_machcode.txt" u 1:9 t "treeadd" with lines, \
|
|
"running_Olden_machcode.txt" u 1:10 t "tsp" with lines, \
|
|
"running_Olden_machcode.txt" u 1:11 t "voronoi" \
|
|
with lines
|
|
|
|
set size 1.5,1.5
|
|
set output "running_Olden_machcode_large.png"
|
|
plot "running_Olden_machcode.txt" u 1:2 t '' with lines, \
|
|
"running_Olden_machcode.txt" u 1:2 t "bh" with lines, \
|
|
"running_Olden_machcode.txt" u 1:3 t "bisort" with lines, \
|
|
"running_Olden_machcode.txt" u 1:4 t "em3d" with lines, \
|
|
"running_Olden_machcode.txt" u 1:5 t "health" with lines, \
|
|
"running_Olden_machcode.txt" u 1:6 t "mst" with lines, \
|
|
"running_Olden_machcode.txt" u 1:7 t "perimeter" with lines, \
|
|
"running_Olden_machcode.txt" u 1:8 t "power" with lines, \
|
|
"running_Olden_machcode.txt" u 1:9 t "treeadd" with lines, \
|
|
"running_Olden_machcode.txt" u 1:10 t "tsp" with lines, \
|
|
"running_Olden_machcode.txt" u 1:11 t "voronoi" \
|
|
with lines
|
|
|
|
|
|
##------- Bytecode size ----
|
|
|
|
set size .75,.75
|
|
set output "running_Olden_bytecode.png"
|
|
set ylabel "Program bytecode size (bytes)"
|
|
plot "running_Olden_bytecode.txt" u 1:2 t '' with lines, \
|
|
"running_Olden_bytecode.txt" u 1:2 t "bh" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:3 t "bisort" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:4 t "em3d" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:5 t "health" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:6 t "mst" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:7 t "perimeter" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:8 t "power" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:9 t "treeadd" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:10 t "tsp" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:11 t "voronoi" \
|
|
with lines
|
|
|
|
set size 1.5,1.5
|
|
set output "running_Olden_bytecode_large.png"
|
|
plot "running_Olden_bytecode.txt" u 1:2 t '' with lines, \
|
|
"running_Olden_bytecode.txt" u 1:2 t "bh" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:3 t "bisort" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:4 t "em3d" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:5 t "health" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:6 t "mst" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:7 t "perimeter" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:8 t "power" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:9 t "treeadd" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:10 t "tsp" with lines, \
|
|
"running_Olden_bytecode.txt" u 1:11 t "voronoi" \
|
|
with lines
|