-
Notifications
You must be signed in to change notification settings - Fork 4
/
07_OpenJDKGraal.sh
executable file
·44 lines (38 loc) · 2.37 KB
/
07_OpenJDKGraal.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
#!/bin/bash
source env.sh
echo "--------------------------------"
echo "07. Beginning OpenJDK (with JVMCI Compiler) benchmarks ..."
export JAVA_HOME=${OPENJDK_11_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 -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler"
#IntList
echo " 1. IntListFilter benchmarks :: less output/07_OpenJDKGraalIntListFilter.txt"
mvn -P OpenJDKGraal clean test exec:exec -t toolchains.xml > output/07_OpenJDKGraalIntListFilter.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo " 2. IntListSum benchmarks :: less output/07_OpenJDKGraalIntListSum.txt"
mvn -P OpenJDKGraal clean test exec:exec@sum -t toolchains.xml > output/07_OpenJDKGraalIntListSum.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo " 3. IntListTransform benchmarks :: less output/07_OpenJDKGraalIntListTransform.txt"
mvn -P OpenJDKGraal clean test exec:exec@transform -t toolchains.xml > output/07_OpenJDKGraalIntListTransform.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
#Person
echo " 4. PersonFilter benchmarks :: less "
mvn -P OpenJDKGraal clean test exec:exec@filterOnly -t toolchains.xml > output/07_OpenJDKGraalPersonFilterOnly.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo " 5. PersonFilterAndGroup benchmarks :: less output/07_OpenJDKGraalPersonFilterOnly.txt"
mvn -P OpenJDKGraal clean test exec:exec@filterAndGroup -t toolchains.xml > output/07_OpenJDKGraalPersonFilterAndGroup.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo " 6. PersonIntSummaryStatistics benchmarks :: less output/07_OpenJDKGraalPersonIntSummaryStats.txt"
mvn -P OpenJDKGraal clean test exec:exec@intSummaryStats -t toolchains.xml > output/07_OpenJDKGraalPersonIntSummaryStats.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo " 7. PersonCombinedSummaryStatistics benchmarks :: less output/07_OpenJDKGraalPersonCombinedSummaryStats.txt"
mvn -P OpenJDKGraal clean test exec:exec@combinedSummaryStats -t toolchains.xml > output/07_OpenJDKGraalPersonCombinedSummaryStats.txt 2>&1
echo " Completed at $(date "+%Y-%m-%d %H:%M:%S")"
echo "Completed OpenJDK (with JVMCI Compiler) benchmarks."
echo "--------------------------------"
echo