/[jscoverage]/trunk/js/bench.sh
ViewVC logotype

Diff of /trunk/js/bench.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 332 by siliconforks, Thu Oct 23 19:03:33 2008 UTC revision 399 by siliconforks, Tue Dec 9 03:37:47 2008 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  T="0"  X="var d = Date.now();";
3  for i in t/*.js; do  for i in t/*.js; do X="$X load(\"$i\");"; done
4          T+="+"  X="$X print(Date.now() - d);"
5          T+=`Darwin_OPT.OBJ/js -j -e 'var d = Date.now(); load("'$i'"); print(Date.now() - d);'`  echo $X | (./Darwin_OPT.OBJ/js -j || ./Linux_All_OPT.OBJ/js -j)
           
 done  
 echo $T | bc  
   

Legend:
Removed from v.332  
changed lines
  Added in v.399

  ViewVC Help
Powered by ViewVC 1.1.24