aboutsummaryrefslogtreecommitdiffstats
path: root/test-perf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test-perf.sh')
-rwxr-xr-xtest-perf.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test-perf.sh b/test-perf.sh
new file mode 100755
index 00000000..8dfb97a3
--- /dev/null
+++ b/test-perf.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+tests=$1
+norecompile=$2
+
+if [[ $tests = "" ]]; then
+ tests="all"
+fi
+
+if [[ $norecompile = "" ]]; then
+ rake compile
+fi
+
+java -jar lib/jstestdriver/JsTestDriver.jar --tests "$tests" --config jsTestDriver-perf.conf