/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/js/bench.sh
Shell | 5 lines | 4 code | 0 blank | 1 comment | 2 complexity | 58049ac6944b58e50eb2d205283a0474 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
- #!/bin/bash
- 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)