Admin/isatest/isatest-stats
author wenzelm
Thu Oct 22 17:09:29 2009 +0200 (2009-10-22)
changeset 33072 ae416aebbb75
parent 33028 9aa8bfb1649d
child 33264 a0f5896d877e
permissions -rwxr-xr-x
updated session name;
kleing@22410
     1
#!/usr/bin/env bash
kleing@22410
     2
#
kleing@22410
     3
# Author: Makarius
kleing@22410
     4
#
kleing@22410
     5
# DESCRIPTION: Standard statistics.
kleing@22410
     6
kleing@22410
     7
THIS=$(cd "$(dirname "$0")"; pwd -P)
kleing@22410
     8
wenzelm@32421
     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"
wenzelm@24831
    10
wenzelm@24831
    11
ISABELLE_SESSIONS="\
wenzelm@27448
    12
  HOL-Plain \
wenzelm@28530
    13
  HOL-Main \
kleing@22410
    14
  HOL \
kleing@22410
    15
  HOL-Algebra \
kleing@22410
    16
  HOL-Auth \
kleing@22410
    17
  HOL-Bali \
wenzelm@30111
    18
  HOL-Decision_Procs \
kleing@22410
    19
  HOL-Extraction \
kleing@22410
    20
  HOL-Hoare \
wenzelm@33072
    21
  HOL-Hoare_Parallel \
kleing@22410
    22
  HOL-Lambda \
wenzelm@26172
    23
  HOL-Library \
wenzelm@33027
    24
  HOL-Metis_Examples \
kleing@22410
    25
  HOL-MicroJava \
wenzelm@27478
    26
  HOL-NSA \
wenzelm@23443
    27
  HOL-Nominal-Examples \
haftmann@32633
    28
  HOL-Number_Theory \
haftmann@32633
    29
  HOL-Old_Number_Theory \
wenzelm@33028
    30
  HOL-SET_Protocol \
kleing@22410
    31
  HOL-UNITY \
wenzelm@27478
    32
  HOL-Word \
kleing@22410
    33
  HOL-ex \
wenzelm@30616
    34
  HOLCF \
wenzelm@30616
    35
  IOA \
kleing@22410
    36
  ZF \
wenzelm@29283
    37
  ZF-Constructible \
kleing@22410
    38
  ZF-UNITY"
kleing@22410
    39
wenzelm@24831
    40
AFP_SESSIONS="\
wenzelm@29283
    41
  CoreC++ \
wenzelm@32276
    42
  Jinja-Slicing \
wenzelm@29283
    43
  HOL-BytecodeLogicJmlTypes \
wenzelm@29283
    44
  HOL-DiskPaxos \
wenzelm@29283
    45
  HOL-Fermat3_4 \
wenzelm@29283
    46
  HOL-Flyspeck-Tame \
wenzelm@29283
    47
  HOL-Group-Ring-Module \
wenzelm@29283
    48
  HOL-Jinja \
wenzelm@29283
    49
  HOL-JinjaThreads \
wenzelm@29283
    50
  HOL-JiveDataStoreModel \
wenzelm@29283
    51
  HOL-POPLmark-deBruijn \
wenzelm@29283
    52
  HOL-Program-Conflict-Analysis \
wenzelm@29283
    53
  HOL-RSAPSS \
wenzelm@29283
    54
  HOL-Recursion-Theory-I \
wenzelm@29283
    55
  HOL-SATSolverVerification \
wenzelm@29283
    56
  HOL-SIFPL \
wenzelm@29283
    57
  HOL-SenSocialChoice \
wenzelm@29283
    58
  HOL-SumSquares \
wenzelm@29283
    59
  HOL-Topology \
wenzelm@29283
    60
  HOL-Valuation \
wenzelm@29283
    61
  LinearQuantifierElim \
wenzelm@29283
    62
  Simpl \
wenzelm@29283
    63
  Simpl-BDD"
wenzelm@24831
    64
kleing@22410
    65
for PLATFORM in $PLATFORMS
kleing@22410
    66
do
wenzelm@24831
    67
  if [ "$PLATFORM" = afp ]; then
wenzelm@24831
    68
    SESSIONS="$AFP_SESSIONS"
wenzelm@24831
    69
  else
wenzelm@24831
    70
    SESSIONS="$ISABELLE_SESSIONS"
wenzelm@24831
    71
  fi
wenzelm@24831
    72
kleing@22410
    73
  "$THIS/isatest-statistics" "stats/$PLATFORM" "$PLATFORM" ${1:-100} $SESSIONS
kleing@22410
    74
  cat > "stats/$PLATFORM.html" <<EOF
kleing@22410
    75
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
kleing@22410
    76
<html>
kleing@22410
    77
<head><title>Development Snapshot -- Performance Statistics</title></head>
kleing@22410
    78
kleing@22410
    79
<body>
kleing@22410
    80
<h1>$PLATFORM</h1>
kleing@22410
    81
EOF
kleing@22410
    82
kleing@22410
    83
for SESSION in $SESSIONS
kleing@22410
    84
do
kleing@22410
    85
  echo "<br><img src="$PLATFORM/$SESSION.png"><br>" >> "stats/$PLATFORM.html"
kleing@22410
    86
done
kleing@22410
    87
kleing@22410
    88
echo "</body>" >> "stats/$PLATFORM.html"
kleing@22410
    89
echo "</html>" >> "stats/$PLATFORM.html"
kleing@22410
    90
kleing@22410
    91
done