PageRenderTime 185ms CodeModel.GetById 100ms app.highlight 4ms RepoModel.GetById 77ms 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
1#!/bin/bash
2X="var d = Date.now();";
3for i in t/*.js; do X="$X load(\"$i\");"; done
4X="$X print(Date.now() - d);"
5echo $X | (./Darwin_OPT.OBJ/js -j || ./Linux_All_OPT.OBJ/js -j)