33 lines
742 B
Plaintext
33 lines
742 B
Plaintext
|
#! /bin/sh
|
||
|
|
||
|
XXX=$HOME/Projects/XXX/bin/xxx
|
||
|
|
||
|
rm -f *.O
|
||
|
|
||
|
if test $# -eq 1; then
|
||
|
testfiles="$1.P" ## test file name is given as unique extra argument
|
||
|
else
|
||
|
testfiles="tc_l_io_chain8000.P tc_r_io_chain2000.P tc_d_io_chain400.P \
|
||
|
tc_l_oo_chain2000.P tc_r_oo_chain2000.P tc_d_oo_chain400.P \
|
||
|
compress.P sg_cyl.P mutagenesis.P"
|
||
|
fi
|
||
|
|
||
|
echo "========================================"
|
||
|
echo " XXX JITI 1st "
|
||
|
echo "========================================"
|
||
|
for file in $testfiles ; do
|
||
|
benchname=`basename $file .P`
|
||
|
printf "%21s " $benchname
|
||
|
$XXX << EOF 2>/dev/null
|
||
|
['$file'].
|
||
|
time.
|
||
|
EOF
|
||
|
printf " \t"
|
||
|
$XXX << EOF 2>/dev/null
|
||
|
compile('$file',[jiti_off]).
|
||
|
['$file'].
|
||
|
time.
|
||
|
EOF
|
||
|
echo
|
||
|
done
|