blob: 29cb03a540cc18175e28796ac16ef6fc41f4cbe1 [file] [log] [blame]
#set terminal pdf monochrome size 3.15,2.5
#set term pdf truecolor size 4.15,2.0 font "Times-Roman, 12"
#set term svg size 880,300 font "Times-Roman, 14"
set term svg size 640,300 font "Times-Roman, 12"
set output "sql.svg"
set yrange [0:30]
set xrange [0:2]
#set ytics add ("1us" 1, "10us" 10, "100us" 100, "1ms" 1000, "10ms" 10000, "" 100000, "" 1000000, "10s" 10000000, "100s" 100000000, "" 1000000000, "" 1e10)
set ylabel "runtime [s]"
set grid ytics mytic
set key left
set style data histogram
unset xtics
set title "Equijoin"
set style line 1 lc rgb "#4dafa4" lw 4
set style line 2 lc rgb "#ff7f00" lw 4
set style line 3 lc rgb "#e41a1c" lw 4
set style line 4 lc rgb "#377eb8" lw 4
set style line 5 lc rgb "#377eb8" lw 4
set style line 6 lc rgb "#377eb8" lw 4
set style line 7 lc rgb "#377e00" lw 4
#set style line 2 lc rgb "#e41a1c" lw 4
#set style line 4 lc rgb "#4dafa4" lw 4
#set style line 5 lc rgb "#984ea3" lw 4
#set style line 6 lc rgb "#ff7f00" lw 4
#set style line 7 lc rgb "#ffff33" lw 4
set style increment user
#plot "data.dat" using 2 ti col, '' u 3 ti col, '' u 4 ti col, '' u 5 ti col
plot "data2.dat" using ($0+1):($1):(0.2) with boxes axis x1y1 title " Vanilla" fs solid 0.9,\
"data2.dat" using ($0+1+0.23):($2):(0.2) with boxes axis x1y1 title " SparkRDMA-Wrapper" fs solid 0.9,\
"data2.dat" using ($0+1+0.46):($3):(0.2) with boxes axis x1y1 title " SparkRDMA-Chunked" fs solid 0.9,\
"data2.dat" using ($0+1+0.69):($4):(0.2) with boxes axis x1y1 title " Crail" fs solid 0.9