Admin/isatest-stats
author haftmann
Fri, 20 Oct 2006 17:07:27 +0200
changeset 21079 747d716e98d0
parent 20683 3d07617c8bf3
child 21166 2075d9027004
permissions -rwxr-xr-x
added reserved words for Haskell
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20613
8f2731bfe86f Standard statistics.
wenzelm
parents:
diff changeset
     1
#!/usr/bin/env bash
8f2731bfe86f Standard statistics.
wenzelm
parents:
diff changeset
     2
#
8f2731bfe86f Standard statistics.
wenzelm
parents:
diff changeset
     3
# $Id$
8f2731bfe86f Standard statistics.
wenzelm
parents:
diff changeset
     4
# Author: Makarius
8f2731bfe86f Standard statistics.
wenzelm
parents:
diff changeset
     5
#
8f2731bfe86f Standard statistics.
wenzelm
parents:
diff changeset
     6
# DESCRIPTION: Standard statistics.
8f2731bfe86f Standard statistics.
wenzelm
parents:
diff changeset
     7
8f2731bfe86f Standard statistics.
wenzelm
parents:
diff changeset
     8
THIS=$(cd "$(dirname "$0")"; pwd -P)
8f2731bfe86f Standard statistics.
wenzelm
parents:
diff changeset
     9
20618
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    10
PLATFORMS="at-poly at-sml-dev"
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    11
SESSIONS="\
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    12
  HOL \
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    13
  HOL-Algebra \
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    14
  HOL-Auth \
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    15
  HOL-Bali \
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    16
  HOL-Complex \
20683
3d07617c8bf3 added HOL-Complex-ex;
wenzelm
parents: 20649
diff changeset
    17
  HOL-Complex-ex \
20618
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    18
  HOL-Extraction \
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    19
  HOL-Hoare \
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    20
  HOL-HoareParallel \
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    21
  HOL-Lambda \
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    22
  HOL-MicroJava \
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    23
  HOL-NumberTheory \
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    24
  HOL-SET-Protocol \
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    25
  HOL-UNITY \
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    26
  HOL-ex \
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    27
  ZF \
20649
5079b9ee1ef5 added ZF-UNITY;
wenzelm
parents: 20632
diff changeset
    28
  ZF-Constructible\
5079b9ee1ef5 added ZF-UNITY;
wenzelm
parents: 20632
diff changeset
    29
  ZF-UNITY"
20618
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    30
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    31
for PLATFORM in $PLATFORMS
20615
wenzelm
parents: 20613
diff changeset
    32
do
20618
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    33
  "$THIS/isatest-statistics" "stats/$PLATFORM" "$PLATFORM" 100 $SESSIONS
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    34
  cat > "stats/$PLATFORM.html" <<EOF
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    35
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    36
<html>
20632
wenzelm
parents: 20619
diff changeset
    37
<head><title>Development Snapshot -- Performance Statistics</title></head>
20618
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    38
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    39
<body>
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    40
<h1>$PLATFORM</h1>
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    41
EOF
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    42
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    43
for SESSION in $SESSIONS
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    44
do
20619
wenzelm
parents: 20618
diff changeset
    45
  echo "<br><img src="$PLATFORM/$SESSION.png"><br>" >> "stats/$PLATFORM.html"
20615
wenzelm
parents: 20613
diff changeset
    46
done
20618
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    47
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    48
echo "</body>" >> "stats/$PLATFORM.html"
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    49
echo "</html>" >> "stats/$PLATFORM.html"
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    50
3f763be47c2f simple html output;
wenzelm
parents: 20617
diff changeset
    51
done