PageRenderTime 15ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/js/bench.sh

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
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
  1. #!/bin/bash
  2. X="var d = Date.now();";
  3. for i in t/*.js; do X="$X load(\"$i\");"; done
  4. X="$X print(Date.now() - d);"
  5. echo $X | (./Darwin_OPT.OBJ/js -j || ./Linux_All_OPT.OBJ/js -j)