| author | blanchet | 
| Thu, 09 Jun 2011 00:16:28 +0200 | |
| changeset 43302 | 566f970006e5 | 
| parent 42461 | 56975de9e341 | 
| child 44152 | a07748619f53 | 
| permissions | -rwxr-xr-x | 
| 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 | # Author: Makarius | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 4 | # | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 5 | # DESCRIPTION: Standard statistics. | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 6 | |
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 7 | THIS=$(cd "$(dirname "$0")"; pwd -P) | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 8 | |
| 42461 | 9 | PLATFORMS="at-poly at-poly-test afp at64-poly cygwin-poly-e mac-poly-M2 mac-poly-M4 mac-poly64-M4 mac-poly-M8 mac-poly64-M8 at64-poly-5.1-para at-mac-poly-5.1-para at-sml-dev" | 
| 24831 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 10 | |
| 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 11 | ISABELLE_SESSIONS="\ | 
| 27448 | 12 | HOL-Plain \ | 
| 28530 | 13 | HOL-Main \ | 
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 14 | HOL \ | 
| 34237 | 15 | HOL-Proofs \ | 
| 37976 | 16 | HOL-Library \ | 
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 17 | HOL-Algebra \ | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 18 | HOL-Auth \ | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 19 | HOL-Bali \ | 
| 30111 | 20 | HOL-Decision_Procs \ | 
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 21 | HOL-Hoare \ | 
| 33072 | 22 | HOL-Hoare_Parallel \ | 
| 37976 | 23 | HOL-Imperative_HOL \ | 
| 33027 | 24 | HOL-Metis_Examples \ | 
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 25 | HOL-MicroJava \ | 
| 34237 | 26 | HOL-Multivariate_Analysis \ | 
| 27478 | 27 | HOL-NSA \ | 
| 23443 | 28 | HOL-Nominal-Examples \ | 
| 32633 | 29 | HOL-Number_Theory \ | 
| 30 | HOL-Old_Number_Theory \ | |
| 37976 | 31 | HOL-Predicate_Compile_Examples \ | 
| 34237 | 32 | HOL-Proofs-Extraction \ | 
| 33 | HOL-Proofs-Lambda \ | |
| 33028 | 34 | HOL-SET_Protocol \ | 
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 35 | HOL-UNITY \ | 
| 27478 | 36 | HOL-Word \ | 
| 37976 | 37 | HOL-Word-SMT_Examples \ | 
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 38 | HOL-ex \ | 
| 30616 | 39 | HOLCF \ | 
| 40 | IOA \ | |
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 41 | ZF \ | 
| 29283 | 42 | ZF-Constructible \ | 
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 43 | ZF-UNITY" | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 44 | |
| 24831 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 45 | AFP_SESSIONS="\ | 
| 37976 | 46 | Coinductive \ | 
| 29283 | 47 | CoreC++ \ | 
| 37976 | 48 | Group-Ring-Module \ | 
| 49 | Group-Ring-Module-Valuation \ | |
| 29283 | 50 | HOL-BytecodeLogicJmlTypes \ | 
| 37976 | 51 | HOL-Collections \ | 
| 29283 | 52 | HOL-DiskPaxos \ | 
| 37976 | 53 | HOL-FeatherweightJava \ | 
| 29283 | 54 | HOL-Fermat3_4 \ | 
| 55 | HOL-Flyspeck-Tame \ | |
| 37976 | 56 | HOL-Free-Groups \ | 
| 57 | HOL-GraphMarkingIBP \ | |
| 29283 | 58 | HOL-JiveDataStoreModel \ | 
| 37976 | 59 | HOL-Locally-Nameless-Sigma \ | 
| 60 | HOL-Ordinals_and_Cardinals \ | |
| 29283 | 61 | HOL-POPLmark-deBruijn \ | 
| 37976 | 62 | HOL-Presburger-Automata \ | 
| 29283 | 63 | HOL-Program-Conflict-Analysis \ | 
| 64 | HOL-RSAPSS \ | |
| 65 | HOL-Recursion-Theory-I \ | |
| 66 | HOL-SATSolverVerification \ | |
| 67 | HOL-SIFPL \ | |
| 68 | HOL-SenSocialChoice \ | |
| 69 | HOL-SumSquares \ | |
| 70 | HOL-Topology \ | |
| 37976 | 71 | HOL-Tree-Automata \ | 
| 72 | HOL-Word-JinjaThreads \ | |
| 73 | HOLCF-WorkerWrapper \ | |
| 74 | HRB-Slicing \ | |
| 75 | Jinja \ | |
| 76 | Jinja-Slicing \ | |
| 29283 | 77 | LinearQuantifierElim \ | 
| 78 | Simpl \ | |
| 37976 | 79 | Simpl-BDD \ | 
| 80 | Slicing \ | |
| 81 | Slicing-InformationFlowSlicing" | |
| 24831 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 82 | |
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 83 | for PLATFORM in $PLATFORMS | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 84 | do | 
| 24831 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 85 | if [ "$PLATFORM" = afp ]; then | 
| 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 86 | SESSIONS="$AFP_SESSIONS" | 
| 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 87 | else | 
| 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 88 | SESSIONS="$ISABELLE_SESSIONS" | 
| 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 89 | fi | 
| 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 90 | |
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 91 |   "$THIS/isatest-statistics" "stats/$PLATFORM" "$PLATFORM" ${1:-100} $SESSIONS
 | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 92 | cat > "stats/$PLATFORM.html" <<EOF | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 93 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 94 | <html> | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 95 | <head><title>Development Snapshot -- Performance Statistics</title></head> | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 96 | |
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 97 | <body> | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 98 | <h1>$PLATFORM</h1> | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 99 | EOF | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 100 | |
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 101 | for SESSION in $SESSIONS | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 102 | do | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 103 | 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 | 104 | done | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 105 | |
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 106 | echo "</body>" >> "stats/$PLATFORM.html" | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 107 | echo "</html>" >> "stats/$PLATFORM.html" | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 108 | |
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 109 | done |