Admin/isatest/isatest-stats
author wenzelm
Thu, 01 Jan 2009 10:42:48 +0100
changeset 29283 f4743512b12d
parent 28602 a79582c29bd5
child 30111 01a87bc13415
permissions -rwxr-xr-x
updated sessions;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22410
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
     1
#!/usr/bin/env bash
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
     2
#
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
     3
# $Id$
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
     4
# Author: Makarius
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
     5
#
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
     6
# DESCRIPTION: Standard statistics.
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
     7
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
     8
THIS=$(cd "$(dirname "$0")"; pwd -P)
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
     9
27086
b7c8b3bb8954 added at-poly-5.1-para-e;
wenzelm
parents: 27028
diff changeset
    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"
24831
887d1b32a1a5 cover AFP logs as well, using "afp" pseudo-platform;
wenzelm
parents: 24489
diff changeset
    11
887d1b32a1a5 cover AFP logs as well, using "afp" pseudo-platform;
wenzelm
parents: 24489
diff changeset
    12
ISABELLE_SESSIONS="\
27448
28914fe628c8 moved HOL-Plain up;
wenzelm
parents: 27429
diff changeset
    13
  HOL-Plain \
28530
843b35caa8c4 added HOL-Main;
wenzelm
parents: 27478
diff changeset
    14
  HOL-Main \
22410
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    15
  HOL \
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    16
  HOL-Algebra \
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    17
  HOL-Auth \
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    18
  HOL-Bali \
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    19
  HOL-Extraction \
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    20
  HOL-Hoare \
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    21
  HOL-HoareParallel \
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    22
  HOL-Lambda \
26172
fa302c5bc2f2 added HOL-Library;
wenzelm
parents: 25547
diff changeset
    23
  HOL-Library \
24489
d4967d2188d6 added some more entries;
wenzelm
parents: 24317
diff changeset
    24
  HOL-MetisExamples \
22410
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    25
  HOL-MicroJava \
27478
ac3b0f881d89 more sessions;
wenzelm
parents: 27448
diff changeset
    26
  HOL-NSA \
23443
fd8ffc8a5709 added HOL-Nominal-Examples;
wenzelm
parents: 22410
diff changeset
    27
  HOL-Nominal-Examples \
22410
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    28
  HOL-NumberTheory \
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    29
  HOL-SET-Protocol \
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    30
  HOL-UNITY \
27478
ac3b0f881d89 more sessions;
wenzelm
parents: 27448
diff changeset
    31
  HOL-Word \
22410
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    32
  HOL-ex \
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    33
  ZF \
29283
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    34
  ZF-Constructible \
22410
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    35
  ZF-UNITY"
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    36
24831
887d1b32a1a5 cover AFP logs as well, using "afp" pseudo-platform;
wenzelm
parents: 24489
diff changeset
    37
AFP_SESSIONS="\
29283
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    38
  CoreC++ \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    39
  HOL-BytecodeLogicJmlTypes \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    40
  HOL-DiskPaxos \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    41
  HOL-Fermat3_4 \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    42
  HOL-Flyspeck-Tame \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    43
  HOL-Group-Ring-Module \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    44
  HOL-Jinja \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    45
  HOL-JinjaThreads \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    46
  HOL-JiveDataStoreModel \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    47
  HOL-POPLmark-deBruijn \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    48
  HOL-Program-Conflict-Analysis \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    49
  HOL-RSAPSS \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    50
  HOL-Recursion-Theory-I \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    51
  HOL-SATSolverVerification \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    52
  HOL-SIFPL \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    53
  HOL-SenSocialChoice \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    54
  HOL-Slicing \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    55
  HOL-SumSquares \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    56
  HOL-Topology \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    57
  HOL-Valuation \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    58
  LinearQuantifierElim \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    59
  Simpl \
f4743512b12d updated sessions;
wenzelm
parents: 28602
diff changeset
    60
  Simpl-BDD"
24831
887d1b32a1a5 cover AFP logs as well, using "afp" pseudo-platform;
wenzelm
parents: 24489
diff changeset
    61
22410
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    62
for PLATFORM in $PLATFORMS
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    63
do
24831
887d1b32a1a5 cover AFP logs as well, using "afp" pseudo-platform;
wenzelm
parents: 24489
diff changeset
    64
  if [ "$PLATFORM" = afp ]; then
887d1b32a1a5 cover AFP logs as well, using "afp" pseudo-platform;
wenzelm
parents: 24489
diff changeset
    65
    SESSIONS="$AFP_SESSIONS"
887d1b32a1a5 cover AFP logs as well, using "afp" pseudo-platform;
wenzelm
parents: 24489
diff changeset
    66
  else
887d1b32a1a5 cover AFP logs as well, using "afp" pseudo-platform;
wenzelm
parents: 24489
diff changeset
    67
    SESSIONS="$ISABELLE_SESSIONS"
887d1b32a1a5 cover AFP logs as well, using "afp" pseudo-platform;
wenzelm
parents: 24489
diff changeset
    68
  fi
887d1b32a1a5 cover AFP logs as well, using "afp" pseudo-platform;
wenzelm
parents: 24489
diff changeset
    69
22410
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    70
  "$THIS/isatest-statistics" "stats/$PLATFORM" "$PLATFORM" ${1:-100} $SESSIONS
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    71
  cat > "stats/$PLATFORM.html" <<EOF
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    72
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    73
<html>
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    74
<head><title>Development Snapshot -- Performance Statistics</title></head>
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    75
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    76
<body>
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    77
<h1>$PLATFORM</h1>
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    78
EOF
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    79
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    80
for SESSION in $SESSIONS
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    81
do
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    82
  echo "<br><img src="$PLATFORM/$SESSION.png"><br>" >> "stats/$PLATFORM.html"
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    83
done
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    84
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    85
echo "</body>" >> "stats/$PLATFORM.html"
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    86
echo "</html>" >> "stats/$PLATFORM.html"
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    87
da313b67a04d moved all isatest/cron job related files to own directory
kleing
parents:
diff changeset
    88
done