-
Notifications
You must be signed in to change notification settings - Fork 4
/
02_GraalEE.sh
executable file
·46 lines (40 loc) · 2.42 KB
/
02_GraalEE.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 "02. Beginning GraalVM EE benchmarks ..."
export GRAALVM_HOME=/Users/cguntur/Tools/jdks/graalvm-ee-java11-19.3.0.2/Contents/Home/
export GRAAL_HOME=/Users/cguntur/Tools/jdks/graalvm-ee-java11-19.3.0.2/Contents/Home/
export JAVA_HOME=${GRAALVM_EE_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/02_GraalEEIntListFilter.txt"
mvn -P GraalEE,IntList clean test exec:exec -t toolchains.xml > output/02_GraalEEIntListFilter.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo " 2. IntListSum benchmarks :: less output/02_GraalEEIntListSum.txt"
mvn -P GraalEE,IntList clean test exec:exec@sum -t toolchains.xml > output/02_GraalEEIntListSum.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo " 3. IntListTransform benchmarks :: less output/02_GraalEEIntListTransform.txt"
mvn -P GraalEE,IntList clean test exec:exec@transform -t toolchains.xml > output/02_GraalEEIntListTransform.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
#Person
echo " 4. PersonFilter benchmarks :: less output/02_GraalEEPersonFilterOnly.txt"
mvn -P GraalEE,Person clean test exec:exec -t toolchains.xml > output/02_GraalEEPersonFilterOnly.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo " 5. PersonFilterAndGroup benchmarks :: less output/02_GraalEEPersonFilterAndGroup.txt"
mvn -P GraalEE,Person clean test exec:exec@filterAndGroup -t toolchains.xml > output/02_GraalEEPersonFilterAndGroup.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo " 6. PersonIntSummaryStatistics benchmarks :: less output/02_GraalEEPersonIntSummaryStats.txt"
mvn -P GraalEE,Person clean test exec:exec@intSummaryStats -t toolchains.xml > output/02_GraalEEPersonIntSummaryStats.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo " 7. PersonCombinedSummaryStatistics benchmarks :: less output/02_GraalEEPersonCombinedSummaryStats.txt"
mvn -P GraalEE,Person clean test exec:exec@combinedSummaryStats -t toolchains.xml > output/02_GraalEEPersonCombinedSummaryStats.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo "Completed GraalVM EE benchmarks."
echo "--------------------------------"
echo