source: doc/theses/mike_brooks_MMath/plots/list-cfa-attrib-remelem.gp@ 6c58850

Last change on this file since 6c58850 was 6c58850, checked in by Michael Brooks <mlbrooks@…>, 5 weeks ago

Revise data in linked-list plots with streamlined harness and data from runs on swift.

No change to text discussing the plots, so some of that discussion is now stale.

Harness changes allow more ifdef feature disabling and eliminate side-array usage, keeping all per-node harness state inside the list nodes.

Completely disable the interleaving experiment, which was not giving discernable data.

  • Property mode set to 100644
File size: 3.7 KB
Line 
1
2#
3# Save in UTF-8 encoding.
4#
5
6
7set terminal pdf color enhanced size 6.0in,3.0in font "Times,17"
8
9INDIR="build"
10OUTDIR="build"
11SRCDIR="plots"
12
13set output OUTDIR.'/plot-list-cfa-attrib-remelem.pdf'
14
15set bmargin 6 # extra room at bottom for multiline x axis labels
16
17set xrange [1:6]
18set xlabel "Operation (movement / polarity / accessor)" offset 0,-2,0
19set xtics offset 4.2,0
20
21set logscale y 2
22set yrange [0.3:10];
23set ytics ( \
24 "+85%%" 6.666666667, \
25 "+80%%" 5, \
26 "+70%%" 3.333333333, \
27 "+60%%" 2.5, \
28 "+40%%" 1.666666667, \
29 "+20%%" 1.25, \
30 "0" 1, \
31 "-20%%" 0.833333333, \
32 "-60%%" 0.625, \
33 "-100%%" 0.5, \
34 "-200%%" 0.333333333 \
35)
36set ylabel "Duration (tailq-Relative)" offset -1.0,0
37
38# Draw axis-like line at speedup=0% (y=1.0)
39set arrow from graph 0, first 1 to graph 1, first 1 nohead lt -1 lw 2
40
41set grid
42set key top center horizontal
43
44BOXSPACING=0.14
45BOXWIDTH=BOXSPACING * .88
46set boxwidth BOXWIDTH absolute
47
48NUM_FXS=6
49
50offset(opNum, fxNum) = opNum + fxNum * BOXSPACING - (NUM_FXS+1) * BOXSPACING / 2 + 0.5
51
52# One row, to plot one-off points
53$Singleton <<EOD
540
55EOD
56
57# empty candlesticks for quantiles, then
58# varyiously styled points for means, then
59# x axis values, then
60# legend symbol augmentation
61plot INDIR.'/plot-list-cfa-attrib-remelem.dat' \
62 using ($2 == 1 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'full' with candlesticks lt rgb "blue", \
63 '' using ($2 == 2 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'mand-head' with candlesticks lt rgb "dark-goldenrod", \
64 '' using ($2 == 3 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'no-listed' with candlesticks lt rgb "dark-salmon", \
65 '' using ($2 == 4 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'parity' with candlesticks lt rgb "gray40", \
66 '' using ($2 == 5 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'no-iter' with candlesticks lt rgb "dark-turquoise", \
67 '' using ($2 == 6 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'strip' with candlesticks lt rgb "red", \
68 '' using ($2 == 1 ? (offset($1, $2)) : 1/0):4 notitle with points pt 7 lt rgb "blue", \
69 '' using ($2 == 2 ? (offset($1, $2)) : 1/0):4:("◐") notitle with labels textcolor rgb "dark-goldenrod" font "DejaVuSans-Bold,14", \
70 '' using ($2 == 3 ? (offset($1, $2)) : 1/0):4:("◑") notitle with labels textcolor rgb "dark-salmon" font "DejaVuSans-Bold,14", \
71 '' using ($2 == 4 ? (offset($1, $2)) : 1/0):4 notitle with points pt 6 lt rgb "gray40", \
72 '' using ($2 == 5 ? (offset($1, $2)) : 1/0):4 notitle with points pt 3 lt rgb "dark-turquoise", \
73 '' using ($2 == 6 ? (offset($1, $2)) : 1/0):4 notitle with points pt 15 lt rgb "red", \
74 SRCDIR.'/list-cfa-attrib-remelem-meta.dat' \
75 using 1:(-999):xtic(2) notitle with points, \
76 $Singleton using (2.7 ):(8.0) notitle with points pt 7 lt rgb "blue", \
77 $Singleton using (2.7 ):(6.0):("◐") notitle with labels textcolor rgb "dark-goldenrod" font "DejaVuSans-Bold,14", \
78 $Singleton using (3.85):(8.0):("◑") notitle with labels textcolor rgb "dark-salmon" font "DejaVuSans-Bold,14", \
79 $Singleton using (3.85):(6.0) notitle with points pt 6 lt rgb "gray40", \
80 $Singleton using (5.1 ):(8.0) notitle with points pt 3 lt rgb "dark-turquoise", \
81 $Singleton using (5.1 ):(6.0) notitle with points pt 15 lt rgb "red"
Note: See TracBrowser for help on using the repository browser.