Add versions, local Kuroko to benchmark

This commit is contained in:
K. Lange 2022-05-05 08:23:40 +09:00
parent 246316ad59
commit f8139f9352

View File

@ -148,11 +148,13 @@ stress-test:
$(MAKE) TESTWRAPPER='valgrind' test
bench:
@echo "Kuroko:"
@echo "Kuroko: ($$(./kuroko --version))"
@for i in bench/*.krk; do ./kuroko "$$i"; done
@echo "CPython:"
@echo "Kuroko ($$(kuroko --version)):"
@for i in bench/*.krk; do kuroko "$$i"; done
@echo "CPython ($$(python3 --version))"
@for i in bench/*.py; do python3 "$$i"; done
@echo "Micropython:"
@echo "Micropython ($$(micropython -c 'import sys; print(sys.version)'))"
@for i in bench/*.py; do micropython -X heapsize=128M "$$i"; done
# Really should be up to you to set, not us...