Add an argument to bench.sh that selects which shell to test (no bug).

This commit is contained in:
Andreas Gal 2009-07-03 22:26:27 -07:00
parent 38d8fac6c7
commit 62b184e1f8

View File

@ -2,4 +2,4 @@
X="var d = Date.now();";
for i in t/*.js; do X="$X load(\"$i\");"; done
X="$X print(Date.now() - d);"
echo $X | (./Darwin_OPT.OBJ/js -j || ./Linux_All_OPT.OBJ/js -j)
echo $X | $1 -j