From 0422e6244e9e1a97397be147abb317f96d0154c3 Mon Sep 17 00:00:00 2001 From: enricotenuti Date: Sat, 26 Oct 2024 16:08:17 +0200 Subject: Check depth fix --- benchmark.sh | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) (limited to 'benchmark.sh') diff --git a/benchmark.sh b/benchmark.sh index 8f0ccc6..f54b046 100755 --- a/benchmark.sh +++ b/benchmark.sh @@ -15,27 +15,27 @@ THREADS=8 case $input in performance) - echo "Performance Benchmark..." - make clean - THREADS=$THREADS ./configure.sh - TOOL=benchmark_performance TOOLARGS="$ARGS" make tool + for i in 1 8 64; do + make clean + THREADS=$i ./configure.sh + TOOL=benchmark_performance TOOLARGS="$ARGS" make tool + done ;; architecture) echo "Architecture Benchmark..." - make clean - THREADS=$THREADS ./configure.sh - TOOL=benchmark_common TOOLARGS="$ARGS" make tool - make clean - THREADS=$THREADS ARCH=PORTABLE ./configure.sh - TOOL=benchmark_common TOOLARGS="$ARGS" make tool + for i in 1 8; do + make clean + THREADS=$i ARCH=PORTABLE ./configure.sh + TOOL=benchmark_performance TOOLARGS="$ARGS" make tool + done ;; memory) echo "Memory Benchmark..." - for i in {0..7}; do + for i in {1..6}; do make clean THREADS=$THREADS ./configure.sh M_ARGS="h48h${i}k2" - TOOL=benchmark_common TOOLARGS="$M_ARGS" make tool + TOOL=benchmark_performance TOOLARGS="$M_ARGS" make tool done ;; nodes) @@ -46,13 +46,18 @@ case $input in ;; multithread) echo "Multithread Benchmark..." - make clean - for i in 1 2 4 8 16; do + for i in 64 32 16 8 4 2 1; do make clean THREADS=$i ./configure.sh - TOOL=benchmark_common TOOLARGS="$ARGS" make tool + TOOL=benchmark_performance TOOLARGS="$ARGS" make tool done ;; + depth) + echo "Depth Benchmark..." + make clean + THREADS=$THREADS ./configure.sh + TOOL=benchmark_performance TOOLARGS="$ARGS" make tool + ;; *) echo "Invalid argument. Possible values:" echo " - performance" @@ -60,6 +65,7 @@ case $input in echo " - memory" echo " - nodes" echo " - multithread" + echo " - depth" exit 1 ;; esac \ No newline at end of file -- cgit v1.3