Micah P. Dombrowski / Dec 04 2019
Clojure/Graal Testing
CLOJURE_VERSION="1.10.1.492"
wget --progress=bar:force -P /results \
https://download.clojure.org/install/linux-install-${CLOJURE_VERSION}.sh
1.0s
Download Clojure (Bash)
Graal 19.3.0 JDK11 3.75 GB
free -h | head -n 2
GRAAL_VERSION="19.3.0"
GRAAL_DIR="/usr/local/graalvm"
JAVA_VERSION="11"
file="graalvm-ce-java${JAVA_VERSION}-linux-amd64-${GRAAL_VERSION}.tar.gz"
path="graalvm/graalvm-ce-builds/releases/download/vm-${GRAAL_VERSION}/${file}"
url="https://github.com/${path}"
mkdir -p $GRAAL_DIR && cd $GRAAL_DIR
wget -qO $file $url && tar -zxf $file --strip-components=1 && rm $file
PATH="${GRAAL_DIR}/bin:$PATH"
gu install native-image
bash NJ__REF_
java -Xms256m clojure.main -m clojure.tools.deps.alpha.script.make-classpath2 --config-user /root/.clojure/deps.edn --config-project deps.edn --libs-file /root/.clojure/.cpcache/979204568.libs --cp-file /root/.clojure/.cpcache/979204568.cp --jvm-file /root/.clojure/.cpcache/979204568.jvm --main-file /root/.clojure/.cpcache/979204568.main
19.3.0jdk11 lowram (Bash)
which time
19.3.0jdk11 lowram (Bash)
cp /usr/local/graalvm/hs_err_pid*.log /results/
0.2s
19.3.0jdk11 lowram (Bash)
Graal 19.3.0 JDK11 7.5 GB
free -h | head -n 2
GRAAL_VERSION="19.3.0"
GRAAL_DIR="/usr/local/graalvm"
JAVA_VERSION="11"
file="graalvm-ce-java${JAVA_VERSION}-linux-amd64-${GRAAL_VERSION}.tar.gz"
path="graalvm/graalvm-ce-builds/releases/download/vm-${GRAAL_VERSION}/${file}"
url="https://github.com/${path}"
mkdir -p $GRAAL_DIR && cd $GRAAL_DIR
wget -qO $file $url && tar -zxf $file --strip-components=1 && rm $file
PATH="${GRAAL_DIR}/bin:$PATH"
gu install native-image
bash NJ__REF_
clojure -e "(clojure-version)"
39.1s
19.3.0jdk11 highram (Bash)
19.3.0 jdk8
GRAAL_VERSION="19.3.0"
GRAAL_DIR="/usr/local/graalvm"
JAVA_VERSION="8"
file="graalvm-ce-java${JAVA_VERSION}-linux-amd64-${GRAAL_VERSION}.tar.gz"
path="graalvm/graalvm-ce-builds/releases/download/vm-${GRAAL_VERSION}/${file}"
url="https://github.com/${path}"
mkdir -p $GRAAL_DIR && cd $GRAAL_DIR
wget -qO $file $url && tar -zxf $file --strip-components=1 && rm $file
PATH="${GRAAL_DIR}/bin:$PATH"
gu install native-image
bash NJ__REF_
clojure -e "(clojure-version)"
45.6s
19.3.0jdk8 (Bash)
19.2.1
#https://github.com/oracle/graal/releases/download/vm-19.2.1/graalvm-ce-linux-amd64-19.2.1.tar.gz
GRAAL_VERSION="19.2.1"
GRAAL_DIR="/usr/local/graalvm"
file="graalvm-ce-linux-amd64-${GRAAL_VERSION}.tar.gz"
path="oracle/graal/releases/download/vm-${GRAAL_VERSION}/${file}"
url="https://github.com/${path}"
mkdir -p $GRAAL_DIR && cd $GRAAL_DIR
wget -qO $file $url && tar -zxf $file --strip-components=1 && rm $file
PATH="${GRAAL_DIR}/bin:$PATH"
gu install native-image
bash NJ__REF_
clojure -e "(clojure-version)"
45.3s
19.2.1 (Bash)