|
Last change
on this file since 1eea589f was 16a843b, checked in by Michael Brooks <mlbrooks@…>, 4 months ago |
|
add linked-list performance assessment
|
-
Property mode
set to
100644
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | set terminal pdf color enhanced size 6.0in,3.0in font "Times,17"
|
|---|
| 2 |
|
|---|
| 3 | INDIR="build"
|
|---|
| 4 | OUTDIR="build"
|
|---|
| 5 |
|
|---|
| 6 | set macros
|
|---|
| 7 | set output OUTDIR."/plot-list-zoomin-rel.pdf"
|
|---|
| 8 |
|
|---|
| 9 | set grid
|
|---|
| 10 | set key top right
|
|---|
| 11 | set logscale x 2
|
|---|
| 12 | set logscale y 2
|
|---|
| 13 | set yrange [0.85:1.33];
|
|---|
| 14 | set ytics ( \
|
|---|
| 15 | "+40%%" 1.666666667, \
|
|---|
| 16 | "+30%%" 1.428571429, \
|
|---|
| 17 | "+20%%" 1.25, \
|
|---|
| 18 | "+10%%" 1.111111111, \
|
|---|
| 19 | "0" 1, \
|
|---|
| 20 | "-10%%" 0.909090909, \
|
|---|
| 21 | "-20%%" 0.833333333, \
|
|---|
| 22 | "-30%%" 0.769230769, \
|
|---|
| 23 | )
|
|---|
| 24 | set xrange [0.75:128];
|
|---|
| 25 | set xlabel "List length (item count)" offset 2,0
|
|---|
| 26 | set ylabel "Duration (tailq-Relative)"
|
|---|
| 27 | set errorbars 2.0
|
|---|
| 28 |
|
|---|
| 29 | # Draw axis-like line at speedup=0% (y=1.0)
|
|---|
| 30 | set arrow from graph 0, first 1 to graph 1, first 1 nohead lt -1 lw 2
|
|---|
| 31 |
|
|---|
| 32 | plot INDIR."/plot-list-zoomin-rel.dat" \
|
|---|
| 33 | i 0 using ($1 * 0.98):8:4:5 title columnheader(1) with yerrorbars lt rgb "blue" pt 7 ps 0.85 lw 1, \
|
|---|
| 34 | '' i 9 using ($1 * 0.94):8:4:5 title columnheader(1) with yerrorbars lt rgb "dark-orange" pt 9 ps 0.75 lw 1, \
|
|---|
| 35 | '' i 8 using ($1 * 1.02):8:4:5 title columnheader(1) with yerrorbars lt rgb "magenta" pt 11 ps 0.85 lw 1, \
|
|---|
| 36 | '' i 7 using ($1 * 1.06):8:4:5 title columnheader(1) with yerrorbars lt rgb "purple" pt 13 ps 1.0 lw 1
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.