Ignore:
Timestamp:
Aug 12, 2025, 12:44:35 AM (6 weeks ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
7f995d70
Parents:
81e1984b
Message:

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.

File:
1 edited

Legend:

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

    r81e1984b r6c58850  
    77import sys
    88import os
    9 
     9from subprocess import Popen, PIPE
    1010
    1111def getSingleResults(infileLocal, *,
     
    1717    infile = os.path.dirname(os.path.abspath(__file__)) + '/../benchmarks/list/' + infileLocal
    1818
    19     timings = pd.read_csv(
    20         infile,
    21         names=['RunMoment', 'RunIdx', 'Args', 'Program', 'expt_ops_completed', 'expt_elapsed_sec', 'mean_op_dur_ns'],
    22         dtype={'RunMoment':          str,
    23             'RunIdx':             np.int64,
    24             'Args':               str,
    25             'Program':            str,
    26             'expt_ops_completed': np.int64,
    27             'expt_elapsed_sec':   np.float64,
    28             'mean_op_dur_ns':     np.float64},
    29         parse_dates=['RunMoment']
    30         )
    31     #print(timings.head())
     19    # grep to remove lines that end in comma; these were error runs
     20    with Popen("grep '[^,]$' " + infile, shell=True, stdout=PIPE) as process:
     21        timings = pd.read_csv(
     22            process.stdout,
     23            names=['RunMoment', 'RunIdx', 'Args', 'Program', 'expt_ops_completed', 'expt_elapsed_sec', 'mean_op_dur_ns'],
     24            dtype={'RunMoment':          str,
     25                'RunIdx':             np.int64,
     26                'Args':               str,
     27                'Program':            str,
     28                'expt_ops_completed': np.int64,
     29                'expt_elapsed_sec':   np.float64,
     30                'mean_op_dur_ns':     np.float64},
     31            parse_dates=['RunMoment']
     32            )
     33    # print(timings.head())
    3234
    3335    ## parse executable name and args
Note: See TracChangeset for help on using the changeset viewer.