Sha256: 118549890d4b1e9850fad073285075bfa6ebb0ab0fc029fa711ce339fb95dbe2

Contents?: true

Size: 855 Bytes

Versions: 2

Compression:

Stored size: 855 Bytes

Contents

#!/bin/sh

rm -rf out
mkdir -p out

#bin/cljsc benchmark > out/core-benchmark.js
bin/cljsc benchmark "{:optimizations :advanced}" >out/core-advanced-benchmark.js

if [ "$V8_HOME" = "" ]; then
  echo "V8_HOME not set, skipping V8 benchmarks"
else
  echo "Benchmarking with V8"
  "${V8_HOME}/d8" out/core-advanced-benchmark.js
  # TODO: figure out path problem when not in advanced mode
  # "${V8_HOME}/d8" out/core-benchmark.js
fi

if [ "$SPIDERMONKEY_HOME" = "" ]; then
  echo "SPIDERMONKEY_HOME not set, skipping SpiderMonkey benchmarks"
else
  echo "Benchmarking with SpiderMonkey"
  "${SPIDERMONKEY_HOME}/js" -m -n -a -f out/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 out/core-advanced-benchmark.js
fi

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
clementine-0.0.3 ext/clojure-clojurescript-bef56a7/script/benchmark
clementine-0.0.2 ext/clojure-clojurescript-bef56a7/script/benchmark