Admin/isatest/isatest-stats
author wenzelm
Tue Mar 24 13:12:23 2009 +0100 (2009-03-24)
changeset 30700 dc38bb27df50
parent 30616 ac79f1bb5db3
child 31620 b0f6168d2b25
permissions -rwxr-xr-x
process at-sml-dev last -- takes very long (why?);
     1 #!/usr/bin/env bash
     2 #
     3 # Author: Makarius
     4 #
     5 # DESCRIPTION: Standard statistics.
     6 
     7 THIS=$(cd "$(dirname "$0")"; pwd -P)
     8 
     9 PLATFORMS="at-poly at64-poly at-poly-5.1-para-e at64-poly-5.1-para at-mac-poly-5.1-para afp at-sml-dev"
    10 
    11 ISABELLE_SESSIONS="\
    12   HOL-Plain \
    13   HOL-Main \
    14   HOL \
    15   HOL-Algebra \
    16   HOL-Auth \
    17   HOL-Bali \
    18   HOL-Decision_Procs \
    19   HOL-Extraction \
    20   HOL-Hoare \
    21   HOL-HoareParallel \
    22   HOL-Lambda \
    23   HOL-Library \
    24   HOL-MetisExamples \
    25   HOL-MicroJava \
    26   HOL-NSA \
    27   HOL-Nominal-Examples \
    28   HOL-NumberTheory \
    29   HOL-SET-Protocol \
    30   HOL-UNITY \
    31   HOL-Word \
    32   HOL-ex \
    33   HOLCF \
    34   IOA \
    35   ZF \
    36   ZF-Constructible \
    37   ZF-UNITY"
    38 
    39 AFP_SESSIONS="\
    40   CoreC++ \
    41   HOL-BytecodeLogicJmlTypes \
    42   HOL-DiskPaxos \
    43   HOL-Fermat3_4 \
    44   HOL-Flyspeck-Tame \
    45   HOL-Group-Ring-Module \
    46   HOL-Jinja \
    47   HOL-JinjaThreads \
    48   HOL-JiveDataStoreModel \
    49   HOL-POPLmark-deBruijn \
    50   HOL-Program-Conflict-Analysis \
    51   HOL-RSAPSS \
    52   HOL-Recursion-Theory-I \
    53   HOL-SATSolverVerification \
    54   HOL-SIFPL \
    55   HOL-SenSocialChoice \
    56   HOL-Slicing \
    57   HOL-SumSquares \
    58   HOL-Topology \
    59   HOL-Valuation \
    60   LinearQuantifierElim \
    61   Simpl \
    62   Simpl-BDD"
    63 
    64 for PLATFORM in $PLATFORMS
    65 do
    66   if [ "$PLATFORM" = afp ]; then
    67     SESSIONS="$AFP_SESSIONS"
    68   else
    69     SESSIONS="$ISABELLE_SESSIONS"
    70   fi
    71 
    72   "$THIS/isatest-statistics" "stats/$PLATFORM" "$PLATFORM" ${1:-100} $SESSIONS
    73   cat > "stats/$PLATFORM.html" <<EOF
    74 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
    75 <html>
    76 <head><title>Development Snapshot -- Performance Statistics</title></head>
    77 
    78 <body>
    79 <h1>$PLATFORM</h1>
    80 EOF
    81 
    82 for SESSION in $SESSIONS
    83 do
    84   echo "<br><img src="$PLATFORM/$SESSION.png"><br>" >> "stats/$PLATFORM.html"
    85 done
    86 
    87 echo "</body>" >> "stats/$PLATFORM.html"
    88 echo "</html>" >> "stats/$PLATFORM.html"
    89 
    90 done