mirror of
https://github.com/nineties/planckforth
synced 2024-12-27 21:58:35 +01:00
Update benchmark document
This commit is contained in:
parent
ce42acec23
commit
b601dc9a7b
1 changed files with 4 additions and 3 deletions
|
@ -18,12 +18,13 @@ function generate-table {
|
||||||
echo
|
echo
|
||||||
#echo "Average of $3 execution times."
|
#echo "Average of $3 execution times."
|
||||||
#echo
|
#echo
|
||||||
echo "| implementation | sec |"
|
echo "| runtime implementation | execution time (sec) |"
|
||||||
echo "|:---------------|----:|"
|
echo "|:-----------------------|---------------------:|"
|
||||||
for impl in $TARGETS; do
|
for impl in $TARGETS; do
|
||||||
make $impl 2>&1 > /dev/null
|
make $impl 2>&1 > /dev/null
|
||||||
|
runtime=`./planck < bootstrap.fs --runtime`
|
||||||
t=`benchmark "time $2 2>&1 > /dev/null" $3`
|
t=`benchmark "time $2 2>&1 > /dev/null" $3`
|
||||||
echo "| $impl | $t |"
|
echo "| $runtime | $t |"
|
||||||
done
|
done
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue