Skip to content

Commit

Permalink
Clean up each performance test separately
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdfrench committed Sep 2, 2024
1 parent e74142a commit 6035fc4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ ridiculous_speed_demo: clean $(RIDICULOUS_STATS) #: Compare other techniques

%.timings.txt: code/speed_demo/%/main.exe
$(call banner, Sampling performance of $<)
(for i in `seq 1 2`; do \
(for i in `seq 1 10`; do \
time -f "%U" ./$<; \
done) 2>&1 | tee $@

Expand Down Expand Up @@ -121,4 +121,10 @@ enter_container: docker_build.txt #: Run an interactive shell in the container
docker run -it -v $(PWD):/workspace ifuncd-up:latest

clean: #: Remove any build detritus
make -C code/speed_demo/always clean
make -C code/speed_demo/fixed clean
make -C code/speed_demo/ifunc clean
make -C code/speed_demo/pointer clean
make -C code/speed_demo/struct clean
make -C code/speed_demo/upfront clean
rm -f *.txt *.exe

0 comments on commit 6035fc4

Please sign in to comment.