Changeset 810c2c5


Ignore:
Timestamp:
Apr 25, 2026, 3:51:31 AM (4 days ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
408f954
Parents:
79f1285
Message:

address two string-section oustanding items: remove confusing sentences; add attribution plot overlay for separate compilation overhead

Location:
doc/theses/mike_brooks_MMath
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/mike_brooks_MMath/plots/string-allocn.d

    r79f1285 r810c2c5  
    11plots/string-allocn.gp.INPUTS: build/plot-string-allocn.dat
    22plots/string-allocn.gp.INPUTS: build/plot-string-allocn-attrib.dat
     3plots/string-allocn.gp.INPUTS: build/plot-string-allocn-attrib-sepcmp.dat
    34plots/string-allocn.py.INPUTS: benchmarks/string/result-allocate-space-cfa.ssv
    45plots/string-allocn.py.INPUTS: benchmarks/string/result-allocate-space-stl.ssv
     
    78plots/string-allocn-attrib.py.INPUTS: benchmarks/string/result-allocate-attrib-stl.ssv
    89plots/string-allocn-attrib.py.INPUTS: benchmarks/string/result-allocate-attrib-cfa.ssv
     10plots/string-allocn-attrib-sepcmp.py.INPUTS: benchmarks/string/string-separate-compilation-overhead.csv
     11plots/string-allocn-attrib-sepcmp.py.INPUTS: build/plot-string-allocn-attrib.dat
  • doc/theses/mike_brooks_MMath/plots/string-allocn.gp

    r79f1285 r810c2c5  
    112112}
    113113
     114# bonus legend of black box = sepcomp overhead
     115set object rect from graph 0.05, graph 0.92 to graph 0.11, graph 0.935 fc rgb "black"
     116set label "sep. comp.\noverhead" at graph 0.14, graph 0.935 left font "Times,15"
    114117
     118pattern(i) = \
     119    (i==1 ? 1 : \
     120     i==2 ? 4 : \
     121     i==3 ? 2 : \
     122     i==4 ? 6 : \
     123     i==5 ? 3 : \
     124     i==6 ? 5 : \
     125              1)
    115126
    116127plot \
     
    120131                          (stringcolumn("category") eq STATS_word[i] ? ($5 + $8) : 1/0): \
    121132                          (stringcolumn("category") eq STATS_word[i] ? (BAR_RELWD*(BAR_XSHIFT*$1**LEN_X_SEP*$3/SCALE)) : 1/0) \
    122                 with boxes ls i title STATS_word[i], \
     133                with boxes ls i fs pattern pattern(i) title STATS_word[i], \
     134        INDIR.'/plot-string-allocn-attrib-sepcmp.dat' \
     135            using (BAR_XSHIFT*$1**LEN_X_SEP*$3/SCALE*0.75): \
     136                        (($8+$10)/2): \
     137                        (BAR_RELWD*(BAR_XSHIFT*$1**LEN_X_SEP*$3/SCALE)/4): \
     138                        ($9/2) \
     139                notitle \
     140                with boxxyerrorbars lt rgb "black", \
    123141        INDIR."/plot-string-allocn.dat" \
    124142           i 1 using (50 **LEN_X_SEP*$5/SCALE):2     notitle with lines      lt rgb "red"         dt '.'  lw 2, \
  • doc/theses/mike_brooks_MMath/string.tex

    r79f1285 r810c2c5  
    20242024So again, \CFA helps users who just want to treat strings as values, and not think about the resource management under the covers.
    20252025
    2026 \PAB{Something is wrong with these sentences: While not a design goal, and not graphed, \CFA in STL-emulation mode outperformed STL in this case.
    2027 User-managed allocation reuse did not affect either implementation in this case; only ``fresh'' results are shown.}
    2028 
    20292026
    20302027\subsection{Test: Pass Argument}
     
    21902187The skipped attribution \emph{Other} has samples that meet none of the criteria above.
    21912188
    2192 \PAB{From Mike: need to add the sep-comp side bar to the graph.}
    2193 
    21942189Beside \CFA's principal bars, a bar for separate-compilation overhead (\emph{sep.\ comp.}) shows the benefit that STL enjoys by using monolithic compilation.
    21952190\CFA currently forgoes this benefit.
Note: See TracChangeset for help on using the changeset viewer.