Admin/isatest/isatest-stats
author wenzelm
Sun Jan 03 15:09:02 2010 +0100 (2010-01-03)
changeset 34237 225daff4323b
parent 33264 a0f5896d877e
child 35549 d3df6465f1a0
permissions -rwxr-xr-x
updated stats;
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@33264
     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 sun-poly"
wenzelm@24831
    10
wenzelm@24831
    11
ISABELLE_SESSIONS="\
wenzelm@27448
    12
  HOL-Plain \
wenzelm@28530
    13
  HOL-Main \
kleing@22410
    14
  HOL \
wenzelm@34237
    15
  HOL-Proofs \
kleing@22410
    16
  HOL-Algebra \
kleing@22410
    17
  HOL-Auth \
kleing@22410
    18
  HOL-Bali \
wenzelm@30111
    19
  HOL-Decision_Procs \
kleing@22410
    20
  HOL-Hoare \
wenzelm@33072
    21
  HOL-Hoare_Parallel \
wenzelm@26172
    22
  HOL-Library \
wenzelm@33027
    23
  HOL-Metis_Examples \
kleing@22410
    24
  HOL-MicroJava \
wenzelm@34237
    25
  HOL-Multivariate_Analysis \
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@34237
    30
  HOL-Proofs-Extraction \
wenzelm@34237
    31
  HOL-Proofs-Lambda \
wenzelm@33028
    32
  HOL-SET_Protocol \
kleing@22410
    33
  HOL-UNITY \
wenzelm@27478
    34
  HOL-Word \
kleing@22410
    35
  HOL-ex \
wenzelm@30616
    36
  HOLCF \
wenzelm@30616
    37
  IOA \
kleing@22410
    38
  ZF \
wenzelm@29283
    39
  ZF-Constructible \
kleing@22410
    40
  ZF-UNITY"
kleing@22410
    41
wenzelm@24831
    42
AFP_SESSIONS="\
wenzelm@29283
    43
  CoreC++ \
wenzelm@32276
    44
  Jinja-Slicing \
wenzelm@29283
    45
  HOL-BytecodeLogicJmlTypes \
wenzelm@29283
    46
  HOL-DiskPaxos \
wenzelm@29283
    47
  HOL-Fermat3_4 \
wenzelm@29283
    48
  HOL-Flyspeck-Tame \
wenzelm@29283
    49
  HOL-Group-Ring-Module \
wenzelm@29283
    50
  HOL-Jinja \
wenzelm@29283
    51
  HOL-JinjaThreads \
wenzelm@29283
    52
  HOL-JiveDataStoreModel \
wenzelm@29283
    53
  HOL-POPLmark-deBruijn \
wenzelm@29283
    54
  HOL-Program-Conflict-Analysis \
wenzelm@29283
    55
  HOL-RSAPSS \
wenzelm@29283
    56
  HOL-Recursion-Theory-I \
wenzelm@29283
    57
  HOL-SATSolverVerification \
wenzelm@29283
    58
  HOL-SIFPL \
wenzelm@29283
    59
  HOL-SenSocialChoice \
wenzelm@29283
    60
  HOL-SumSquares \
wenzelm@29283
    61
  HOL-Topology \
wenzelm@29283
    62
  HOL-Valuation \
wenzelm@29283
    63
  LinearQuantifierElim \
wenzelm@29283
    64
  Simpl \
wenzelm@29283
    65
  Simpl-BDD"
wenzelm@24831
    66
kleing@22410
    67
for PLATFORM in $PLATFORMS
kleing@22410
    68
do
wenzelm@24831
    69
  if [ "$PLATFORM" = afp ]; then
wenzelm@24831
    70
    SESSIONS="$AFP_SESSIONS"
wenzelm@24831
    71
  else
wenzelm@24831
    72
    SESSIONS="$ISABELLE_SESSIONS"
wenzelm@24831
    73
  fi
wenzelm@24831
    74
kleing@22410
    75
  "$THIS/isatest-statistics" "stats/$PLATFORM" "$PLATFORM" ${1:-100} $SESSIONS
kleing@22410
    76
  cat > "stats/$PLATFORM.html" <<EOF
kleing@22410
    77
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
kleing@22410
    78
<html>
kleing@22410
    79
<head><title>Development Snapshot -- Performance Statistics</title></head>
kleing@22410
    80
kleing@22410
    81
<body>
kleing@22410
    82
<h1>$PLATFORM</h1>
kleing@22410
    83
EOF
kleing@22410
    84
kleing@22410
    85
for SESSION in $SESSIONS
kleing@22410
    86
do
kleing@22410
    87
  echo "<br><img src="$PLATFORM/$SESSION.png"><br>" >> "stats/$PLATFORM.html"
kleing@22410
    88
done
kleing@22410
    89
kleing@22410
    90
echo "</body>" >> "stats/$PLATFORM.html"
kleing@22410
    91
echo "</html>" >> "stats/$PLATFORM.html"
kleing@22410
    92
kleing@22410
    93
done