Changeset 8e42847 for doc/theses


Ignore:
Timestamp:
Sep 8, 2021, 10:42:13 AM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
f26923e
Parents:
031453c
Message:

Andrew MMath: Making sure the printed and actual number of iterations match.

Location:
doc/theses/andrew_beach_MMath
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/andrew_beach_MMath/code/test.sh

    r031453c r8e42847  
    5555)
    5656
    57 if [ "-a" = "$1" ]; then                        # build all
     57if [ "-a" = "$1" ]; then
    5858        for file in *.cfa *.cpp *.java; do
    5959                build $file
    6060        done
    6161        exit 0
    62 elif [ "-b" = "$1" ]; then                      # build given
     62elif [ "-b" = "$1" ]; then
    6363        for file in "${@:2}"; do
    6464                build $file
    6565        done
    6666        exit 0
    67 elif [ "-c" = "$1" ]; then                      # clean all
     67elif [ "-c" = "$1" ]; then
    6868        rm $(basename -s ".cfa" -a *.cfa)
    6969        rm $(basename -s ".cpp" -a *.cpp)
     
    9292raise-empty)
    9393        CFAT="./throw-empty $ITERS_1M $STACK_HEIGHT"
    94         CFAR="./resume-empty $ITERS_1M $STACK_HEIGHT"
     94        CFAR="./resume-empty $ITERS_10M $STACK_HEIGHT"
    9595        CPP="./throw-empty-cpp $ITERS_1M $STACK_HEIGHT"
    9696        JAVA="java ThrowEmpty $ITERS_1M $STACK_HEIGHT"
     
    9999raise-detor)
    100100        CFAT="./throw-detor $ITERS_1M $STACK_HEIGHT"
    101         CFAR="./resume-detor $ITERS_1M $STACK_HEIGHT"
     101        CFAR="./resume-detor $ITERS_10M $STACK_HEIGHT"
    102102        CPP="./throw-detor-cpp $ITERS_1M $STACK_HEIGHT"
    103103        JAVA=unsupported
     
    106106raise-finally)
    107107        CFAT="./throw-finally $ITERS_1M $STACK_HEIGHT"
    108         CFAR="./resume-finally $ITERS_1M $STACK_HEIGHT"
     108        CFAR="./resume-finally $ITERS_10M $STACK_HEIGHT"
    109109        CPP=unsupported
    110110        JAVA="java ThrowFinally $ITERS_1M $STACK_HEIGHT"
     
    113113raise-other)
    114114        CFAT="./throw-other $ITERS_1M $STACK_HEIGHT"
    115         CFAR="./resume-other $ITERS_1M $STACK_HEIGHT"
     115        CFAR="./resume-other $ITERS_10M $STACK_HEIGHT"
    116116        CPP="./throw-other-cpp $ITERS_1M $STACK_HEIGHT"
    117117        JAVA="java ThrowOther $ITERS_1M $STACK_HEIGHT"
     
    134134cond-match-all)
    135135        CFAT="./cond-catch $ITERS_10M 1"
    136         CFAR="./cond-fixup $ITERS_10M 1"
     136        CFAR="./cond-fixup $ITERS_100M 1"
    137137        CPP="./cond-catch-cpp $ITERS_10M 1"
    138138        JAVA="java CondCatch $ITERS_10M 1"
     
    141141cond-match-none)
    142142        CFAT="./cond-catch $ITERS_10M 0"
    143         CFAR="./cond-fixup $ITERS_10M 0"
     143        CFAR="./cond-fixup $ITERS_100M 0"
    144144        CPP="./cond-catch-cpp $ITERS_10M 0"
    145145        JAVA="java CondCatch $ITERS_10M 0"
     
    167167
    168168case "$TEST_LANG" in
    169         cfa-t) CALL="$CFAT";;
    170         cfa-r) CALL="$CFAR";;
    171         cpp) CALL="$CPP";;
    172         java) CALL="$JAVA";;
    173         python) CALL="$PYTHON";;
    174         *)
    175                 echo "No such language: $TEST_LANG" >&2
    176                 exit 2
     169cfa-t) CALL="$CFAT";;
     170cfa-r) CALL="$CFAR";;
     171cpp) CALL="$CPP";;
     172java) CALL="$JAVA";;
     173python) CALL="$PYTHON";;
     174*)
     175        echo "No such language: $TEST_LANG" >&2
     176        exit 2
    177177        ;;
    178178esac
  • doc/theses/andrew_beach_MMath/performance.tex

    r031453c r8e42847  
    259259Finally Traversal (1M) & 3.4*  & N/A   & 17.9  & 29.0      & 4.1*  & N/A   & 15.6  & 19.0  \\
    260260Other Traversal (1M)   & 3.6*  & 23.2  & 18.2  & 32.7      & 4.0*  & 24.5  & 15.5  & 21.4  \\
    261 Cross Handler (100M)   & 6.0   & 0.9   & N/C   & 37.4      & 10.0  & 0.8   & N/C   & 32.2  \\
    262 Cross Finally (100M)   & 0.9   & N/A   & N/C   & 44.1      & 0.8   & N/A   & N/C   & 37.3  \\
     261Cross Handler (1B)     & 6.0   & 0.9   & N/C   & 37.4      & 10.0  & 0.8   & N/C   & 32.2  \\
     262Cross Finally (1B)     & 0.9   & N/A   & N/C   & 44.1      & 0.8   & N/A   & N/C   & 37.3  \\
    263263Match All (10M)        & 32.9  & 20.7  & 13.4  & 4.9       & 36.2  & 24.5  & 12.0  & 3.1   \\
    264264Match None (10M)       & 32.7  & 50.3  & 11.0  & 5.1       & 36.3  & 71.9  & 12.3  & 4.2   \\
     
    280280Finally Traversal (10M) & 1.7     & 1.0  \\
    281281Other Traversal (10M)   & 22.6    & 25.9 \\
    282 Cross Handler (100M)    & 8.4     & 11.9 \\
     282Cross Handler (1B)      & 8.4     & 11.9 \\
    283283Match All (100M)        & 2.3     & 3.2  \\
    284284Match None (100M)       & 2.9     & 3.9  \\
Note: See TracChangeset for help on using the changeset viewer.