Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 35 lines (28 sloc) 1.053 kb
#!/bin/sh
rm -rf builds/out-adv-bench
mkdir -p builds/out-adv-bench
bin/cljsc benchmark "{:optimizations :advanced :output-wrapper true :compiler-stats true}" > builds/out-adv-bench/core-advanced-benchmark.js
if [ "$V8_HOME" = "" ]; then
echo "V8_HOME not set, skipping V8 benchmarks"
else
echo "Benchmarking with V8"
"${V8_HOME}/d8" builds/out-adv-bench/core-advanced-benchmark.js
fi
if [ "$SPIDERMONKEY_HOME" = "" ]; then
echo "SPIDERMONKEY_HOME not set, skipping SpiderMonkey benchmarks"
else
echo "Benchmarking with SpiderMonkey"
"${SPIDERMONKEY_HOME}/js" -f builds/out-adv-bench/core-advanced-benchmark.js
fi
if [ "$JSC_HOME" = "" ]; then
echo "JSC_HOME not set, skipping JavaScriptCore benchmarks"
else
echo "Benchmarking with JavaScriptCore"
"${JSC_HOME}/jsc" -f builds/out-adv-bench/core-advanced-benchmark.js
fi
if [ "$NASHORN_HOME" = "" ]; then
echo "NASHORN_HOME not set, skipping Nashorn benchmarks"
else
echo "Benchmarking with Nashorn"
"${NASHORN_HOME}/jjs" builds/out-adv-bench/core-advanced-benchmark.js
fi
Jump to Line
Something went wrong with that request. Please try again.