source: doc/theses/mike_brooks_MMath/plots/list-cfa-attrib.gp@ 5ba1356

Last change on this file since 5ba1356 was 16a843b, checked in by Michael Brooks <mlbrooks@…>, 2 months ago

add linked-list performance assessment

  • Property mode set to 100644
File size: 2.6 KB
Line 
1set terminal pdfcairo color enhanced size 6.0in,3.0in font "Times,17"
2
3INDIR="build"
4OUTDIR="build"
5SRCDIR="plots"
6
7set output OUTDIR.'/plot-list-cfa-attrib.pdf'
8
9set bmargin 6 # extra room at bottom for multiline x axis labels
10
11set xrange [1:9]
12set xlabel "Operation (movement / polarity / accessor)" offset 0,-2,0
13set xtics offset 4.2,0
14
15set logscale y 2
16set yrange [0.75:1.8];
17set ytics ( \
18 "+40%%" 1.666666667, \
19 "+30%%" 1.428571429, \
20 "+20%%" 1.25, \
21 "+10%%" 1.111111111, \
22 "0" 1, \
23 "-10%%" 0.909090909, \
24 "-20%%" 0.833333333, \
25 "-30%%" 0.769230769, \
26)
27set ylabel "Duration (tailq-Relative)"
28
29# Draw axis-like line at speedup=0% (y=1.0)
30set arrow from graph 0, first 1 to graph 1, first 1 nohead lt -1 lw 2
31
32set grid
33set key top center horizontal
34
35BOXSPACING=0.2
36BOXWIDTH=BOXSPACING * .85
37set boxwidth BOXWIDTH absolute
38
39NUM_FXS=4
40
41offset(opNum, fxNum) = opNum + fxNum * BOXSPACING - (NUM_FXS+1) * BOXSPACING / 2 + 0.5
42
43# One row, to plot one-off points
44$Singleton <<EOD
450
46EOD
47
48# empty candlesticks for quantiles, then
49# varyiously styled points for means, then
50# x axis values, then
51# legend symbol augmentation
52plot INDIR.'/plot-list-cfa-attrib.dat' \
53 using ($2 == 1 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'full' with candlesticks lt rgb "blue" , \
54 '' using ($2 == 2 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'parity' with candlesticks lt rgb "gray40", \
55 '' using ($2 == 3 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'no-iter' with candlesticks lt rgb "dark-turquoise" , \
56 '' using ($2 == 4 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'strip' with candlesticks lt rgb "red" , \
57 '' using ($2 == 1 ? (offset($1, $2)) : 1/0):4 notitle with points pt 7 lt rgb "blue" , \
58 '' using ($2 == 2 ? (offset($1, $2)) : 1/0):4 notitle with points pt 6 lt rgb "gray40", \
59 '' using ($2 == 3 ? (offset($1, $2)) : 1/0):4 notitle with points pt 3 lt rgb "dark-turquoise" , \
60 '' using ($2 == 4 ? (offset($1, $2)) : 1/0):4 notitle with points pt 15 lt rgb "red" , \
61 SRCDIR.'/list-cfa-attrib-meta.dat' \
62 using 1:(-999):xtic(2) notitle with points, \
63 $Singleton using (2.85):(1.69) notitle with points pt 7 lt rgb "blue" , \
64 $Singleton using (4.60):(1.69) notitle with points pt 6 lt rgb "gray40", \
65 $Singleton using (6.30):(1.69) notitle with points pt 3 lt rgb "dark-turquoise" , \
66 $Singleton using (7.95):(1.69) notitle with points pt 15 lt rgb "red"
Note: See TracBrowser for help on using the repository browser.