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

Contents of /trunk/js/bench.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 332 - (show annotations)
Thu Oct 23 19:03:33 2008 UTC (11 years ago) by siliconforks
File MIME type: application/x-sh
File size: 158 byte(s)
Add SpiderMonkey from Firefox 3.1b1.

The following directories and files were removed:
correct/, correct.js
liveconnect/
nanojit/
t/
v8/
vprof/
xpconnect/
all JavaScript files (Y.js, call.js, if.js, math-partial-sums.js, md5.js, perfect.js, trace-test.js, trace.js)


1 #!/bin/bash
2 T="0"
3 for i in t/*.js; do
4 T+="+"
5 T+=`Darwin_OPT.OBJ/js -j -e 'var d = Date.now(); load("'$i'"); print(Date.now() - d);'`
6
7 done
8 echo $T | bc
9

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.24