-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path03_GraalCE.sh
executable file
·46 lines (40 loc) · 2.33 KB
/
03_GraalCE.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/bash
source env.sh
echo "--------------------------------"
echo "03. Beginning GraalVM CE benchmarks ..."
export GRAALVM_HOME=${GRAALVM_CE_19_HOME}
export GRAAL_HOME=${GRAALVM_CE_19_HOME}
export JAVA_HOME=${GRAALVM_CE_19_HOME}
export PATH=$JAVA_HOME/bin:$PATH
echo "JAVA_HOME=${JAVA_HOME}"
echo "Java Version"
echo "------------"
echo `java -version`
echo "------------"
export MAVEN_OPTS="-Xms1024m -Xmx1024m"
#IntList
echo " 1. IntListFilter benchmarks :: less output/03_GraalCEIntListFilter.txt"
mvn -P GraalCE,IntList clean test exec:exec -t toolchains.xml > output/03_GraalCEIntListFilter.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo " 2. IntListSum benchmarks :: less output/03_GraalCEIntListSum.txt"
mvn -P GraalCE,IntList clean test exec:exec@sum -t toolchains.xml > output/03_GraalCEIntListSum.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo " 3. IntListTransform benchmarks :: less output/03_GraalCEIntListTransform.txt"
mvn -P GraalCE,IntList clean test exec:exec@transform -t toolchains.xml > output/03_GraalCEIntListTransform.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
#Person
echo " 4. PersonFilter benchmarks :: less output/03_GraalCEPersonFilterOnly.txt"
mvn -P GraalCE,Person clean test exec:exec -t toolchains.xml > output/03_GraalCEPersonFilterOnly.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo " 5. PersonFilterAndGroup benchmarks :: less output/03_GraalCEPersonFilterAndGroup.txt"
mvn -P GraalCE,Person clean test exec:exec@filterAndGroup -t toolchains.xml > output/03_GraalCEPersonFilterAndGroup.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo " 6. PersonIntSummaryStatistics benchmarks :: less output/03_GraalCEPersonIntSummaryStats.txt"
mvn -P GraalCE,Person clean test exec:exec@intSummaryStats -t toolchains.xml > output/03_GraalCEPersonIntSummaryStats.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo " 7. PersonCombinedSummaryStatistics benchmarks :: less output/03_GraalCEPersonCombinedSummaryStats.txt"
mvn -P GraalCE,Person clean test exec:exec@combinedSummaryStats -t toolchains.xml > output/03_GraalCEPersonCombinedSummaryStats.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo "Completed GraalVM CE benchmarks."
echo "--------------------------------"
echo