Admin/isatest/isatest-stats
author wenzelm
Thu Jan 01 10:42:48 2009 +0100 (2009-01-01)
changeset 29283 f4743512b12d
parent 28602 a79582c29bd5
child 30111 01a87bc13415
permissions -rwxr-xr-x
updated 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 \
wenzelm@29283
    34
  ZF-Constructible \
kleing@22410
    35
  ZF-UNITY"
kleing@22410
    36
wenzelm@24831
    37
AFP_SESSIONS="\
wenzelm@29283
    38
  CoreC++ \
wenzelm@29283
    39
  HOL-BytecodeLogicJmlTypes \
wenzelm@29283
    40
  HOL-DiskPaxos \
wenzelm@29283
    41
  HOL-Fermat3_4 \
wenzelm@29283
    42
  HOL-Flyspeck-Tame \
wenzelm@29283
    43
  HOL-Group-Ring-Module \
wenzelm@29283
    44
  HOL-Jinja \
wenzelm@29283
    45
  HOL-JinjaThreads \
wenzelm@29283
    46
  HOL-JiveDataStoreModel \
wenzelm@29283
    47
  HOL-POPLmark-deBruijn \
wenzelm@29283
    48
  HOL-Program-Conflict-Analysis \
wenzelm@29283
    49
  HOL-RSAPSS \
wenzelm@29283
    50
  HOL-Recursion-Theory-I \
wenzelm@29283
    51
  HOL-SATSolverVerification \
wenzelm@29283
    52
  HOL-SIFPL \
wenzelm@29283
    53
  HOL-SenSocialChoice \
wenzelm@29283
    54
  HOL-Slicing \
wenzelm@29283
    55
  HOL-SumSquares \
wenzelm@29283
    56
  HOL-Topology \
wenzelm@29283
    57
  HOL-Valuation \
wenzelm@29283
    58
  LinearQuantifierElim \
wenzelm@29283
    59
  Simpl \
wenzelm@29283
    60
  Simpl-BDD"
wenzelm@24831
    61
kleing@22410
    62
for PLATFORM in $PLATFORMS
kleing@22410
    63
do
wenzelm@24831
    64
  if [ "$PLATFORM" = afp ]; then
wenzelm@24831
    65
    SESSIONS="$AFP_SESSIONS"
wenzelm@24831
    66
  else
wenzelm@24831
    67
    SESSIONS="$ISABELLE_SESSIONS"
wenzelm@24831
    68
  fi
wenzelm@24831
    69
kleing@22410
    70
  "$THIS/isatest-statistics" "stats/$PLATFORM" "$PLATFORM" ${1:-100} $SESSIONS
kleing@22410
    71
  cat > "stats/$PLATFORM.html" <<EOF
kleing@22410
    72
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
kleing@22410
    73
<html>
kleing@22410
    74
<head><title>Development Snapshot -- Performance Statistics</title></head>
kleing@22410
    75
kleing@22410
    76
<body>
kleing@22410
    77
<h1>$PLATFORM</h1>
kleing@22410
    78
EOF
kleing@22410
    79
kleing@22410
    80
for SESSION in $SESSIONS
kleing@22410
    81
do
kleing@22410
    82
  echo "<br><img src="$PLATFORM/$SESSION.png"><br>" >> "stats/$PLATFORM.html"
kleing@22410
    83
done
kleing@22410
    84
kleing@22410
    85
echo "</body>" >> "stats/$PLATFORM.html"
kleing@22410
    86
echo "</html>" >> "stats/$PLATFORM.html"
kleing@22410
    87
kleing@22410
    88
done