Admin/isatest/isatest-stats
author wenzelm
Fri May 28 11:37:38 2010 +0200 (2010-05-28)
changeset 37160 d92638c7c38f
parent 36604 65a8b49e8948
child 37976 ce2ea240895c
permissions -rwxr-xr-x
discontinued Sun/Solaris tests;
     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 at-poly-test at64-poly cygwin-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-Proofs \
    16   HOL-Algebra \
    17   HOL-Auth \
    18   HOL-Bali \
    19   HOL-Decision_Procs \
    20   HOL-Hoare \
    21   HOL-Hoare_Parallel \
    22   HOL-Library \
    23   HOL-Metis_Examples \
    24   HOL-MicroJava \
    25   HOL-Multivariate_Analysis \
    26   HOL-NSA \
    27   HOL-Nominal-Examples \
    28   HOL-Number_Theory \
    29   HOL-Old_Number_Theory \
    30   HOL-Proofs-Extraction \
    31   HOL-Proofs-Lambda \
    32   HOL-SET_Protocol \
    33   HOL-UNITY \
    34   HOL-Word \
    35   HOL-ex \
    36   HOLCF \
    37   IOA \
    38   ZF \
    39   ZF-Constructible \
    40   ZF-UNITY"
    41 
    42 AFP_SESSIONS="\
    43   CoreC++ \
    44   Jinja-Slicing \
    45   HOL-BytecodeLogicJmlTypes \
    46   HOL-DiskPaxos \
    47   HOL-Fermat3_4 \
    48   HOL-Flyspeck-Tame \
    49   HOL-Group-Ring-Module \
    50   HOL-Jinja \
    51   HOL-JinjaThreads \
    52   HOL-JiveDataStoreModel \
    53   HOL-POPLmark-deBruijn \
    54   HOL-Program-Conflict-Analysis \
    55   HOL-RSAPSS \
    56   HOL-Recursion-Theory-I \
    57   HOL-SATSolverVerification \
    58   HOL-SIFPL \
    59   HOL-SenSocialChoice \
    60   HOL-SumSquares \
    61   HOL-Topology \
    62   HOL-Valuation \
    63   LinearQuantifierElim \
    64   Simpl \
    65   Simpl-BDD"
    66 
    67 for PLATFORM in $PLATFORMS
    68 do
    69   if [ "$PLATFORM" = afp ]; then
    70     SESSIONS="$AFP_SESSIONS"
    71   else
    72     SESSIONS="$ISABELLE_SESSIONS"
    73   fi
    74 
    75   "$THIS/isatest-statistics" "stats/$PLATFORM" "$PLATFORM" ${1:-100} $SESSIONS
    76   cat > "stats/$PLATFORM.html" <<EOF
    77 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
    78 <html>
    79 <head><title>Development Snapshot -- Performance Statistics</title></head>
    80 
    81 <body>
    82 <h1>$PLATFORM</h1>
    83 EOF
    84 
    85 for SESSION in $SESSIONS
    86 do
    87   echo "<br><img src="$PLATFORM/$SESSION.png"><br>" >> "stats/$PLATFORM.html"
    88 done
    89 
    90 echo "</body>" >> "stats/$PLATFORM.html"
    91 echo "</html>" >> "stats/$PLATFORM.html"
    92 
    93 done