mirror of
https://github.com/nineties/planckforth
synced 2024-12-25 21:58:22 +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 "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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue