mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add a simple script that calculates an aggregate score over all tests running with the jit in t/*.
This commit is contained in:
parent
b9e946d830
commit
dcb470b104
9
js/src/bench.sh
Executable file
9
js/src/bench.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
T="0"
|
||||
for i in t/*.js; do
|
||||
T+="+"
|
||||
T+=`Darwin_OPT.OBJ/js -j -e 'var d = Date.now(); load("'$i'"); print(Date.now() - d);'`
|
||||
|
||||
done
|
||||
echo $T | bc
|
||||
|
Loading…
Reference in New Issue
Block a user