diff options
| author | enricotenuti <tenutz_27@outlook.it> | 2024-10-26 16:08:17 +0200 |
|---|---|---|
| committer | enricotenuti <tenutz_27@outlook.it> | 2024-10-26 16:08:17 +0200 |
| commit | 0422e6244e9e1a97397be147abb317f96d0154c3 (patch) | |
| tree | 3a3abd8cce12ccc0bcb38f1c32213af2647dcf04 /benchmark.sh | |
| parent | 09fb2900d3811d76ef145e5f960e5b824bb0bfb6 (diff) | |
| download | nissy-core-0422e6244e9e1a97397be147abb317f96d0154c3.tar.gz nissy-core-0422e6244e9e1a97397be147abb317f96d0154c3.zip | |
Check depth fix
Diffstat (limited to 'benchmark.sh')
| -rwxr-xr-x | benchmark.sh | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/benchmark.sh b/benchmark.sh index 8f0ccc6..f54b046 100755 --- a/benchmark.sh +++ b/benchmark.sh | |||
| @@ -15,27 +15,27 @@ THREADS=8 | |||
| 15 | 15 | ||
| 16 | case $input in | 16 | case $input in |
| 17 | performance) | 17 | performance) |
| 18 | echo "Performance Benchmark..." | 18 | for i in 1 8 64; do |
| 19 | make clean | 19 | make clean |
| 20 | THREADS=$THREADS ./configure.sh | 20 | THREADS=$i ./configure.sh |
| 21 | TOOL=benchmark_performance TOOLARGS="$ARGS" make tool | 21 | TOOL=benchmark_performance TOOLARGS="$ARGS" make tool |
| 22 | done | ||
| 22 | ;; | 23 | ;; |
| 23 | architecture) | 24 | architecture) |
| 24 | echo "Architecture Benchmark..." | 25 | echo "Architecture Benchmark..." |
| 25 | make clean | 26 | for i in 1 8; do |
| 26 | THREADS=$THREADS ./configure.sh | 27 | make clean |
| 27 | TOOL=benchmark_common TOOLARGS="$ARGS" make tool | 28 | THREADS=$i ARCH=PORTABLE ./configure.sh |
| 28 | make clean | 29 | TOOL=benchmark_performance TOOLARGS="$ARGS" make tool |
| 29 | THREADS=$THREADS ARCH=PORTABLE ./configure.sh | 30 | done |
| 30 | TOOL=benchmark_common TOOLARGS="$ARGS" make tool | ||
| 31 | ;; | 31 | ;; |
| 32 | memory) | 32 | memory) |
| 33 | echo "Memory Benchmark..." | 33 | echo "Memory Benchmark..." |
| 34 | for i in {0..7}; do | 34 | for i in {1..6}; do |
| 35 | make clean | 35 | make clean |
| 36 | THREADS=$THREADS ./configure.sh | 36 | THREADS=$THREADS ./configure.sh |
| 37 | M_ARGS="h48h${i}k2" | 37 | M_ARGS="h48h${i}k2" |
| 38 | TOOL=benchmark_common TOOLARGS="$M_ARGS" make tool | 38 | TOOL=benchmark_performance TOOLARGS="$M_ARGS" make tool |
| 39 | done | 39 | done |
| 40 | ;; | 40 | ;; |
| 41 | nodes) | 41 | nodes) |
| @@ -46,13 +46,18 @@ case $input in | |||
| 46 | ;; | 46 | ;; |
| 47 | multithread) | 47 | multithread) |
| 48 | echo "Multithread Benchmark..." | 48 | echo "Multithread Benchmark..." |
| 49 | make clean | 49 | for i in 64 32 16 8 4 2 1; do |
| 50 | for i in 1 2 4 8 16; do | ||
| 51 | make clean | 50 | make clean |
| 52 | THREADS=$i ./configure.sh | 51 | THREADS=$i ./configure.sh |
| 53 | TOOL=benchmark_common TOOLARGS="$ARGS" make tool | 52 | TOOL=benchmark_performance TOOLARGS="$ARGS" make tool |
| 54 | done | 53 | done |
| 55 | ;; | 54 | ;; |
| 55 | depth) | ||
| 56 | echo "Depth Benchmark..." | ||
| 57 | make clean | ||
| 58 | THREADS=$THREADS ./configure.sh | ||
| 59 | TOOL=benchmark_performance TOOLARGS="$ARGS" make tool | ||
| 60 | ;; | ||
| 56 | *) | 61 | *) |
| 57 | echo "Invalid argument. Possible values:" | 62 | echo "Invalid argument. Possible values:" |
| 58 | echo " - performance" | 63 | echo " - performance" |
| @@ -60,6 +65,7 @@ case $input in | |||
| 60 | echo " - memory" | 65 | echo " - memory" |
| 61 | echo " - nodes" | 66 | echo " - nodes" |
| 62 | echo " - multithread" | 67 | echo " - multithread" |
| 68 | echo " - depth" | ||
| 63 | exit 1 | 69 | exit 1 |
| 64 | ;; | 70 | ;; |
| 65 | esac \ No newline at end of file | 71 | esac \ No newline at end of file |
