aboutsummaryrefslogtreecommitdiff
path: root/test/just_bench.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/just_bench.sh')
-rw-r--r--test/just_bench.sh44
1 files changed, 0 insertions, 44 deletions
diff --git a/test/just_bench.sh b/test/just_bench.sh
deleted file mode 100644
index 2ae7698e..00000000
--- a/test/just_bench.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-
-#
-# bash just_bench.sh >whatever.conf
-#
-# hardinfo PR instructions:
-# crudini --merge ../data/benchmark.conf < whatever.conf
-# git checkout -b br_whatever
-# git add ../data/benchmark.conf
-# git commit -m "bench_result: whatever"
-# git push -u <github_fork_origin> br_whatever
-# https://github.com/lpereira/hardinfo/pulls
-
-USER_NOTE="$1"
-
-do_hi_bench() {
- sleep 1
- echo "[$1]"
- if [ "$USER_NOTE" != "" ]; then
- hardinfo -b "$1" -g conf -u "$USER_NOTE"
- else
- hardinfo -b "$1" -g conf
- fi
-}
-
-if [ ! -z `which sysbench` ]; then
- do_hi_bench "SysBench CPU (Single-thread)"
- do_hi_bench "SysBench CPU (Multi-thread)"
- #do_hi_bench "SysBench CPU (Four threads)"
- do_hi_bench "SysBench Memory (Single-thread)"
- #do_hi_bench "SysBench Memory (Two threads)"
- do_hi_bench "SysBench Memory"
-fi
-
-do_hi_bench "CPU Blowfish (Single-thread)"
-do_hi_bench "CPU Blowfish (Multi-thread)"
-do_hi_bench "CPU Blowfish (Multi-core)"
-do_hi_bench "CPU CryptoHash"
-do_hi_bench "CPU Fibonacci"
-do_hi_bench "CPU N-Queens"
-do_hi_bench "CPU Zlib"
-do_hi_bench "FPU FFT"
-do_hi_bench "FPU Raytracing"
-#do_hi_bench "GPU Drawing"