Admin/isatest/isatest-stats
author wenzelm
Fri May 30 23:10:53 2008 +0200 (2008-05-30)
changeset 27028 12c329e4d1cc
parent 27023 6b2386074e5c
child 27086 b7c8b3bb8954
permissions -rwxr-xr-x
more AFP sessions;
     1 #!/usr/bin/env bash
     2 #
     3 # $Id$
     4 # Author: Makarius
     5 #
     6 # DESCRIPTION: Standard statistics.
     7 
     8 THIS=$(cd "$(dirname "$0")"; pwd -P)
     9 
    10 PLATFORMS="at-poly at-sml-dev at64-poly at64-poly-5.1-para at-mac-poly-5.1-para afp"
    11 
    12 ISABELLE_SESSIONS="\
    13   HOL \
    14   HOL-Algebra \
    15   HOL-Auth \
    16   HOL-Bali \
    17   HOL-Complex \
    18   HOL-Complex-ex \
    19   HOL-Extraction \
    20   HOL-Hoare \
    21   HOL-HoareParallel \
    22   HOL-Lambda \
    23   HOL-Library \
    24   HOL-MetisExamples \
    25   HOL-MicroJava \
    26   HOL-Nominal-Examples \
    27   HOL-NumberTheory \
    28   HOL-SET-Protocol \
    29   HOL-UNITY \
    30   HOL-ex \
    31   ZF \
    32   ZF-Constructible\
    33   ZF-UNITY"
    34 
    35 AFP_SESSIONS="\
    36   CoreC++\
    37   HOL-Complex-LinearQuantifierElim\
    38   HOL-DiskPaxos\
    39   HOL-Fermat3_4\
    40   HOL-Flyspeck-Tame\
    41   HOL-Group-Ring-Module\
    42   HOL-JinjaThreads\
    43   HOL-Jinja\
    44   HOL-JiveDataStoreModel\
    45   HOL-POPLmark-deBruijn\
    46   HOL-Program-Conflict-Analysis\
    47   HOL-RSAPSS\
    48   HOL-Recursion-Theory-I\
    49   HOL-SumSquares\
    50   HOL-Topology\
    51   HOL-Valuation\
    52   Simpl-BDD\
    53   Simpl"
    54 
    55 for PLATFORM in $PLATFORMS
    56 do
    57   if [ "$PLATFORM" = afp ]; then
    58     SESSIONS="$AFP_SESSIONS"
    59   else
    60     SESSIONS="$ISABELLE_SESSIONS"
    61   fi
    62 
    63   "$THIS/isatest-statistics" "stats/$PLATFORM" "$PLATFORM" ${1:-100} $SESSIONS
    64   cat > "stats/$PLATFORM.html" <<EOF
    65 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
    66 <html>
    67 <head><title>Development Snapshot -- Performance Statistics</title></head>
    68 
    69 <body>
    70 <h1>$PLATFORM</h1>
    71 EOF
    72 
    73 for SESSION in $SESSIONS
    74 do
    75   echo "<br><img src="$PLATFORM/$SESSION.png"><br>" >> "stats/$PLATFORM.html"
    76 done
    77 
    78 echo "</body>" >> "stats/$PLATFORM.html"
    79 echo "</html>" >> "stats/$PLATFORM.html"
    80 
    81 done