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