Performance test

This commit is contained in:
Dmitry Boulytchev 2021-11-22 15:51:47 +03:00
parent 9ff649e563
commit 669a4288d7
2 changed files with 41 additions and 0 deletions

14
performance/Makefile Normal file
View file

@ -0,0 +1,14 @@
TESTS=$(sort $(basename $(wildcard *.lama)))
LAMAC=../src/lamac
.PHONY: check $(TESTS)
check: $(TESTS)
$(TESTS): %: %.lama
@echo $@
LAMA=../runtime $(LAMAC) $< && `which time` -f "$@\t%U" ./$@
clean:
$(RM) test*.log *.s *~ $(TESTS) *.i