Ignore:
Timestamp:
Apr 24, 2026, 1:27:24 PM (4 weeks ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
8501107
Parents:
534188b
Message:

revisions to ll perf intro and graph formatting

Location:
doc/theses/mike_brooks_MMath/plots
Files:
8 added
11 deleted
5 edited
1 moved

Legend:

Unmodified
Added
Removed
  • doc/theses/mike_brooks_MMath/plots/ListCommon.py

    r534188b rbf73608  
    5050    timings['SizeZone'] = np.select(
    5151        condlist = [
    52             (4 <= timings['NumNodes']) & (timings['NumNodes'] <= 16),
    53             (48 <= timings['NumNodes']) & (timings['NumNodes'] <= 256)
     52            ( 6 <= timings['NumNodes']) & (timings['NumNodes'] <=  20),
     53            (50 <= timings['NumNodes']) & (timings['NumNodes'] <= 200)
    5454        ],
    5555        choicelist = [
  • doc/theses/mike_brooks_MMath/plots/list-1ord.gp

    r534188b rbf73608  
    2929
    3030set xrange [-5.5:17.5];
    31 set xlabel "Architecture, Size Zone;                           Operation;                                     Framework;       \nPrevalence                                   Prevalence                                     Prevalence"
     31set xlabel "Architecture, Size Zone (/156);                 Use Case (/52);                            Framework (/192^†)       \nPrevalence                                   Prevalence                                     Prevalence"
    3232set xtics ( \
    3333   "AMD, sm"    -5, \
     
    4949   "XII"  11, \
    5050\
    51    "{/Helvetica=15 C{/Symbol \42}}"      13, \
    52    "{/Symbol \155}C++"      14, \
    53    "LQ: tailq" 15, \
    54    "LQ: list"  16, \
     51   "{/Helvetica=15 C{/Symbol \42}}"  13, \
     52   "{/Symbol \155}C++"               14, \
     53   "LQ {/Helvetica=15 tailq}"        15, \
     54   "LQ {/Helvetica=15 list}"         16, \
    5555) scale 0 rotate by -45
    5656
    57 barHtScale_phys = 0.05
     57barHtScale_phys = 0.035
    5858barHtScale_op = 0.1
    5959barHtScale_fx = 0.05
  • doc/theses/mike_brooks_MMath/plots/list-2ord.gp

    r534188b rbf73608  
    2929
    3030set xrange [-0.7:27.5];
    31 set xlabel "Criterion;  top-bottom Options;  Prevalence" offset 0,-1.5
     31set xlabel "Criterion (/96^‡^*);  top-bottom Options;  Prevalence" offset 0,-1.5
    3232set format x ""
    3333set xtics ( \
     
    5050set label "stack"                           at first 11  , graph  1.05 center
    5151set label "queue"                           at first 11  , graph -0.05 center
    52 set label "Movement                      at first 11  , graph -0.14 center
     52set label "Movement^†"                      at first 11  , graph -0.14 center
    5353
    5454set label "ins. first"                      at first 15  , graph  1.05 center
    5555set label "ins. last"                       at first 15  , graph -0.05 center
    56 set label "Polarity                      at first 15  , graph -0.14 center
     56set label "Polarity^†"                      at first 15  , graph -0.14 center
    5757
    5858set label "all head"                        at first 19.5, graph  1.05 center
     
    173173       i ( 0 + 0) using ( 0 + 0 ):1 title "{/Helvetica=15 C{/Symbol \42}}"   with points     lc rgb "blue"        pt  7  ps 1.0, \
    174174    '' i ( 0 + 3) using ( 0 + 1 ):1 title "{/Symbol \155}C++"                with points     lc rgb "dark-orange" pt  9  ps 1.2, \
    175     '' i ( 0 + 2) using ( 0 + 2 ):1 title "LQ-tailq"                         with points     lc rgb "magenta"     pt  11 ps 1.2, \
    176     '' i ( 0 + 1) using ( 0 + 3 ):1 title "LQ-list"                          with points     lc rgb "dark-violet" pt  13 ps 1.4, \
     175    '' i ( 0 + 2) using ( 0 + 2 ):1 title "LQ {/Helvetica=15 tailq}"         with points     lc rgb "magenta"     pt  11 ps 1.2, \
     176    '' i ( 0 + 1) using ( 0 + 3 ):1 title "LQ {/Helvetica=15 list}"          with points     lc rgb "dark-violet" pt  13 ps 1.4, \
    177177    '' i ( 0 + 0) using ( 0 + 0):1:( 0 + 0):( 0 + 0 + .8)            notitle with xerrorbars lc rgb "blue"        pt  0, \
    178178    '' i ( 0 + 3) using ( 0 + 1):1:( 0 + 1):( 0 + 1 + .8)            notitle with xerrorbars lc rgb "dark-orange" pt  0, \
  • doc/theses/mike_brooks_MMath/plots/list-zoomin-abs-i-swift.gp

    r534188b rbf73608  
    1 set terminal pdfcairo color enhanced size 3.625in,2.0in font "Times,17"
     1set terminal pdfcairo color enhanced size 3.4375in,2.5in font "Times,17"
    22
    33set size 1.0, 1.0    # scale of plot area inside terminal
     
    1010set output OUTDIR."/plot-list-zoomin-abs-i-swift.pdf"
    1111
    12 set lmargin 10
     12set lmargin screen (0.5/3.4375) # half inch
    1313
    1414set grid
    15 unset key
    16 set logscale x 2
     15set key bottom right
     16
    1717set logscale y
    1818set yrange [1:15];
    19 set ytics (1,2,3,4,5,6,7,8,10,12,14)
     19set ytics (1,2,3,4,5,6,7,8,10,12,14) nomirror
     20set ylabel "Duration (ns)"
     21
     22set logscale x 2
    2023set xrange [0.75:180];
    21 # set xlabel "List length (item count)" offset 2,0
    22 set format x ""
    23 set ylabel "Duration (ns)" offset -3.0,0
     24set xlabel "List length (item count)"
     25# set format x ""
     26
     27# "drop" page-centre side of bounding box (drop whole box, re-draw desired three)
     28unset border
     29set arrow from graph 0, graph 0 to graph 0, graph 1 nohead lw 1 front  # left
     30set arrow from graph 0, graph 1 to graph 1, graph 1 nohead lw 1 front  # top
     31set arrow from graph 0, graph 0 to graph 1, graph 0 nohead lw 1 front  # bot
     32
     33# labelled boxes around size zones
     34set object rect from first  6, first 2.5 to first 23,   first 10 fc rgb "black"       fs empty         lw 2.0
     35set object rect from first 45, first 3.5 to graph 0.99, first 12 fc rgb "black"       fs empty         lw 2.0
     36set label "small"                        at first 23,   first (2.5 * 0.9) right
     37set label "medium"                       at graph 0.99, first (3.5 * 0.9) right
     38
     39
     40#set bmargin 0
     41set tmargin 0.1
     42#set lmargin 0
     43set rmargin 0.1
     44
     45set label "{/Times-Bold= Use Case I,}\n{/Times-Bold= AMD}"                           at first 1, graph  0.9 left
     46
    2447set errorbars 2.0
    2548set pointintervalbox 0
    2649
    2750plot INDIR."/plot-list-zoomin-abs-i-swift.dat" \
    28        i 0 using ($1 * 0.98):8:4:5 title columnheader(1) with yerrorbars lt rgb "blue"        pt  6  ps 0.85 lw 1, \
    29     '' i 4 using ($1 * 0.94):8:4:5 title columnheader(1) with yerrorbars lt rgb "dark-orange"   pt  8  ps 0.75 lw 1, \
    30     '' i 3 using ($1 * 1.02):8:4:5 title columnheader(1) with yerrorbars lt rgb "magenta"             pt  10 ps 0.85 lw 1, \
    31     '' i 2 using ($1 * 1.06):8:4:5 title columnheader(1) with yerrorbars lt rgb "purple"              pt  12 ps 1.0  lw 1
     51       i 0 using ($1 * 0.98):8:4:5 notitle                        with yerrorbars lt rgb "blue"              pt  6  ps 0.85 lw 1, \
     52    '' i 4 using ($1 * 0.94):8:4:5 notitle                        with yerrorbars lt rgb "dark-orange" pt  8  ps 0.75 lw 1, \
     53    '' i 3 using ($1 * 1.02):8:4:5 notitle                        with yerrorbars lt rgb "magenta"           pt  10 ps 0.85 lw 1, \
     54    '' i 2 using ($1 * 1.06):8:4:5 title "LQ {/Helvetica=15 list}" with yerrorbars lt rgb "purple"            pt  12 ps 1.0  lw 1
  • doc/theses/mike_brooks_MMath/plots/list-zoomin-abs-viii-java.gp

    r534188b rbf73608  
    1 set terminal pdfcairo color enhanced size 3.0in,2.5in font "Times,17"
     1set terminal pdfcairo color enhanced size 2.9375in,2.5in font "Times,17"
    22
    33set size 1.0, 1.0    # scale of plot area inside terminal
     
    1111
    1212set grid
    13 unset key
    14 set logscale x 2
     13set key bottom right
     14set key noopaque
     15
    1516set logscale y
    1617set yrange [1:15];
    17 set ytics (1,2,3,4,5,6,7,8,10,12,14)
     18set ytics (1,2,3,4,5,6,7,8,10,12,14) scale 0
     19#set ylabel "Duration (ns)" offset -3.0,0
    1820set format y ""
     21
     22set logscale y2
     23set y2range [1:15];
     24set y2tics (1,2,3,4,5,6,7,8,10,12,14) nomirror
     25set format y2 ""
     26
     27set logscale x 2
    1928set xrange [0.75:180];
    20 set xlabel "List length (item count)" offset 2,0
    21 # set ylabel "Duration (ns)" offset -1.0,0
    22 set format y ""
     29set xlabel "List length (item count)"
     30# set format x ""
     31
     32# "drop" page-centre side of bounding box (drop whole box, re-draw desired three)
     33unset border
     34set arrow from graph 1, graph 0 to graph 1, graph 1 nohead lw 1 front  # right
     35set arrow from graph 0, graph 1 to graph 1, graph 1 nohead lw 1 front  # top
     36set arrow from graph 0, graph 0 to graph 1, graph 0 nohead lw 1 front  # bot
     37
     38# labelled boxes around size zones
     39set object rect  from first  6, first 1.4 to first 23,   first 4.8 fc rgb "black"       fs empty         lw 2.0
     40set object rect  from first 45, first 3.5 to graph 0.99, first 6.5 fc rgb "black"       fs empty         lw 2.0
     41set label "small"  at first  6,                          first (4.8 * 1.15) left
     42set label "medium" at first 45,                          first (6.5 * 1.15) left
     43
     44
     45#set bmargin 0
     46set tmargin 0.1
     47set lmargin 0
     48set rmargin 0.1
     49
     50set label "{/Times-Bold= Use Case VIII,}\n{/Times-Bold= Intel}"                           at first 1, graph  0.9 left
     51
    2352set errorbars 2.0
    2453set pointintervalbox 0
    2554
    2655plot INDIR."/plot-list-zoomin-abs-viii-java.dat" \
    27        i 0 using ($1 * 0.98):8:4:5 title columnheader(1) with yerrorbars lt rgb "blue"        pt  6  ps 0.85 lw 1, \
    28     '' i 3 using ($1 * 0.94):8:4:5 title columnheader(1) with yerrorbars lt rgb "dark-orange"   pt  8  ps 0.75 lw 1, \
    29     '' i 2 using ($1 * 1.02):8:4:5 title columnheader(1) with yerrorbars lt rgb "magenta"             pt  10 ps 0.85 lw 1
     56       i 0 using ($1 * 0.98):8:4:5 title "{/Helvetica=15 C{/Symbol \42}}" with yerrorbars lt rgb "blue"              pt  6  ps 0.85 lw 1, \
     57    '' i 3 using ($1 * 0.94):8:4:5 title "{/Symbol \155}C++"              with yerrorbars lt rgb "dark-orange" pt  8  ps 0.75 lw 1, \
     58    '' i 2 using ($1 * 1.02):8:4:5 title "LQ {/Helvetica=15 tailq}"        with yerrorbars lt rgb "magenta"           pt  10 ps 0.85 lw 1
  • doc/theses/mike_brooks_MMath/plots/list-zoomin-rel-i-swift.py

    r534188b rbf73608  
    2121
    2222    measureBase='OpDurRel',
    23     marginalizeOn=['fx']
     23    marginalizeOn= list( set(explanations) - set(['NumNodes', 'SizeZone']) )
    2424)
Note: See TracChangeset for help on using the changeset viewer.