Changed order: 1st then JITI.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1828 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
kostis 2007-03-11 09:11:20 +00:00
parent 755cd9155e
commit 50d49538c4
2 changed files with 20 additions and 19 deletions

View File

@ -12,21 +12,22 @@ else
compress.P sg_cyl.P pta.P mutagenesis.P"
fi
echo "========================================"
echo " XXX JITI 1st "
echo "========================================"
printf "========================================\n"
printf " XXX 1st JITI \n"
printf "========================================\n"
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
rm *.O
printf " \t"
$XXX << EOF 2>/dev/null
['$file'].
time.
EOF
printf "\n"
done

View File

@ -10,23 +10,23 @@ else
compress.P sg_cyl.P pta.P mutagenesis.P"
fi
echo "========================================"
echo " Yap JITI 1st "
echo "========================================"
printf "========================================\n"
printf " Yap 1st JITI \n"
printf "========================================\n"
for file in $testfiles ; do
benchname=`basename $file .P`
printf "%21s " $benchname
$XXX << EOF 2>/dev/null
yap_flag(tabling_mode,local).
['$file'].
time.
EOF
printf " \t"
$XXX << EOF 2>/dev/null
set_prolog_flag(index,single).
yap_flag(tabling_mode,local).
['$file'].
time.
EOF
echo
printf " \t"
$XXX << EOF 2>/dev/null
yap_flag(tabling_mode,local).
['$file'].
time.
EOF
printf "\n"
done