Update benchmark document

This commit is contained in:
Koichi Nakamura 2021-01-11 19:31:08 +09:00
parent ce42acec23
commit b601dc9a7b

View file

@ -18,12 +18,13 @@ function generate-table {
echo
#echo "Average of $3 execution times."
#echo
echo "| implementation | sec |"
echo "|:---------------|----:|"
echo "| runtime implementation | execution time (sec) |"
echo "|:-----------------------|---------------------:|"
for impl in $TARGETS; do
make $impl 2>&1 > /dev/null
runtime=`./planck < bootstrap.fs --runtime`
t=`benchmark "time $2 2>&1 > /dev/null" $3`
echo "| $impl | $t |"
echo "| $runtime | $t |"
done
echo
}