Admin/isatest/isatest-stats
author wenzelm
Tue Oct 20 19:52:04 2009 +0200 (2009-10-20)
changeset 33027 9cf389429f6d
parent 32633 4ba4bfa08749
child 33028 9aa8bfb1649d
permissions -rwxr-xr-x
modernized session Metis_Examples;
     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 mac-poly-M4 mac-poly64-M4 mac-poly-M8 mac-poly64-M8 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-Metis_Examples \
    25   HOL-MicroJava \
    26   HOL-NSA \
    27   HOL-Nominal-Examples \
    28   HOL-Number_Theory \
    29   HOL-Old_Number_Theory \
    30   HOL-SET-Protocol \
    31   HOL-UNITY \
    32   HOL-Word \
    33   HOL-ex \
    34   HOLCF \
    35   IOA \
    36   ZF \
    37   ZF-Constructible \
    38   ZF-UNITY"
    39 
    40 AFP_SESSIONS="\
    41   CoreC++ \
    42   Jinja-Slicing \
    43   HOL-BytecodeLogicJmlTypes \
    44   HOL-DiskPaxos \
    45   HOL-Fermat3_4 \
    46   HOL-Flyspeck-Tame \
    47   HOL-Group-Ring-Module \
    48   HOL-Jinja \
    49   HOL-JinjaThreads \
    50   HOL-JiveDataStoreModel \
    51   HOL-POPLmark-deBruijn \
    52   HOL-Program-Conflict-Analysis \
    53   HOL-RSAPSS \
    54   HOL-Recursion-Theory-I \
    55   HOL-SATSolverVerification \
    56   HOL-SIFPL \
    57   HOL-SenSocialChoice \
    58   HOL-SumSquares \
    59   HOL-Topology \
    60   HOL-Valuation \
    61   LinearQuantifierElim \
    62   Simpl \
    63   Simpl-BDD"
    64 
    65 for PLATFORM in $PLATFORMS
    66 do
    67   if [ "$PLATFORM" = afp ]; then
    68     SESSIONS="$AFP_SESSIONS"
    69   else
    70     SESSIONS="$ISABELLE_SESSIONS"
    71   fi
    72 
    73   "$THIS/isatest-statistics" "stats/$PLATFORM" "$PLATFORM" ${1:-100} $SESSIONS
    74   cat > "stats/$PLATFORM.html" <<EOF
    75 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
    76 <html>
    77 <head><title>Development Snapshot -- Performance Statistics</title></head>
    78 
    79 <body>
    80 <h1>$PLATFORM</h1>
    81 EOF
    82 
    83 for SESSION in $SESSIONS
    84 do
    85   echo "<br><img src="$PLATFORM/$SESSION.png"><br>" >> "stats/$PLATFORM.html"
    86 done
    87 
    88 echo "</body>" >> "stats/$PLATFORM.html"
    89 echo "</html>" >> "stats/$PLATFORM.html"
    90 
    91 done