From bfcf7f774e7868dbe1320c5a7cbc091ea42025e0 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Fri, 27 Oct 2023 16:16:49 -0400 Subject: [PATCH] chore: handpick combinations for bench-pi --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0995b509..1d7ec227 100644 --- a/Makefile +++ b/Makefile @@ -51,8 +51,12 @@ PI_KIND?=fifo,pool bench-pi: @echo running for N=$(PI_NSTEPS) dune build $(DUNE_OPTS_BENCH) benchs/pi.exe - hyperfine -L mode $(PI_MODES) -L kind $(PI_KIND) --warmup=1 \ - './_build/default/benchs/pi.exe -mode={mode} -kind={kind} -n $(PI_NSTEPS)' + hyperfine --warmup=1 \ + './_build/default/benchs/pi.exe -n $(PI_NSTEPS) -mode=seq' \ + './_build/default/benchs/pi.exe -n $(PI_NSTEPS) -j 8 -mode par1 -kind=pool' \ + './_build/default/benchs/pi.exe -n $(PI_NSTEPS) -j 8 -mode par1 -kind=fifo' \ + './_build/default/benchs/pi.exe -n $(PI_NSTEPS) -j 16 -mode forkjoin -kind=pool' \ + './_build/default/benchs/pi.exe -n $(PI_NSTEPS) -j 20 -mode forkjoin -kind=pool' .PHONY: test clean bench-fib bench-pi