From 2e215adafb7081ad6096b000554b2f347c01b9b7 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Fri, 14 Dec 2018 15:03:52 -0500 Subject: [PATCH] Added 'make bench' --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 01627698..d5a50ef7 100644 --- a/Makefile +++ b/Makefile @@ -122,7 +122,7 @@ doc : # Helper rules (of interest to people hacking on this makefile) -.PHONY: clean full bootstrap tags indent debug test doc +.PHONY: clean full bench bootstrap tags indent debug test doc $(TESTS) : %: %.scm $(CYCLONE) -I . $< @@ -190,6 +190,9 @@ libcyclone.a : runtime.o gc.o dispatch.o mstreams.o full : make clean ; make && make test && make bootstrap && cd ../cyclone-bootstrap && make clean && ./install.sh +bench : + cd ../r7rs-benchmarks && rm results.Cyclone && ./bench cyclone all && grep Elapsed results.Cyclone >out.txt ; grep Elapsed results.Cyclone |wc ; grep -i -e error -e limit -e crash results.Cyclone + bootstrap : icyc libs mkdir -p $(BOOTSTRAP_DIR)/scheme/cyclone mkdir -p $(BOOTSTRAP_DIR)/srfi