Ignore:
Timestamp:
Apr 25, 2026, 6:31:13 PM (7 days ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
7184906
Parents:
810c2c5
Message:

fix list perf plotting issues with physical factors

File:
1 edited

Legend:

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

    r810c2c5 r408f954  
    101101    return timings
    102102
     103# calls = 0
    103104
    104105def annotateBaseline( timings, marginalizeOn ):
     106#   global calls
     107#   print( "XXX", calls, marginalizeOn, file=sys.stderr )
    105108    c_tgtPeers = c( 'Peers', marginalizeOn )
    106109    c_tgtBl = c("Baseline", marginalizeOn)
     
    117120    # comparing to sz-only baseline gets rid of "they all pitch up," while keeping "SM is faster then ML"
    118121    if 'SizeZone' in marginalizeOn and 'NumNodes' not in marginalizeOn:
     122        assert( 'Length' not in marginalizeOn )  # need to treat them in lockstep because of fd
     123    #   calls += 1
    119124        # special case: sz-only synthetic benchmark
    120125        margNeither = list( set(marginalizeOn) - {'SizeZone'} )
    121         margBoth = list( set(marginalizeOn) | {'NumNodes'} )
    122         margJustNn = list( set(margNeither) | {'NumNodes'} )
     126        margBoth = list( set(marginalizeOn) | {'NumNodes', 'Length'} )
     127        margJustNn = list( set(margNeither) | {'NumNodes', 'Length'} )
    123128        annotateBaseline( timings, margNeither )
    124129        annotateBaseline( timings, margBoth )
     
    136141        conditionOn = list( set(explanations) - set(marginalizeOn) )
    137142    #   print( "marginalizing on", marginalizeOn, "conditioning on", conditionOn, file=sys.stderr )
     143    #   calls += 1
    138144
    139145        if conditionOn:
Note: See TracChangeset for help on using the changeset viewer.