mirror of
https://github.com/masonr/yet-another-bench-script.git
synced 2026-05-12 15:35:11 +08:00
Compare commits
2 Commits
github-wor
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
873f780055 | ||
|
|
ba162efb87 |
10
yabs.sh
10
yabs.sh
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Yet Another Bench Script by Mason Rowe
|
# Yet Another Bench Script by Mason Rowe
|
||||||
# Initial Oct 2019; Last update Apr 2025
|
# Initial Oct 2019; Last update May 2026
|
||||||
|
|
||||||
# Disclaimer: This project is a work in progress. Any errors or suggestions should be
|
# Disclaimer: This project is a work in progress. Any errors or suggestions should be
|
||||||
# relayed to me via the GitHub project page linked below.
|
# relayed to me via the GitHub project page linked below.
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
# performance via fio. The script is designed to not require any dependencies
|
# performance via fio. The script is designed to not require any dependencies
|
||||||
# - either compiled or installed - nor admin privileges to run.
|
# - either compiled or installed - nor admin privileges to run.
|
||||||
|
|
||||||
YABS_VERSION="v2025-04-20"
|
YABS_VERSION="v2026-05-11"
|
||||||
|
|
||||||
echo -e '# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #'
|
echo -e '# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #'
|
||||||
echo -e '# Yet-Another-Bench-Script #'
|
echo -e '# Yet-Another-Bench-Script #'
|
||||||
@@ -972,8 +972,8 @@ function launch_geekbench {
|
|||||||
|| GB_URL="https://cdn.geekbench.com/Geekbench-5.5.1-Linux.tar.gz"
|
|| GB_URL="https://cdn.geekbench.com/Geekbench-5.5.1-Linux.tar.gz"
|
||||||
GB_CMD="geekbench5"
|
GB_CMD="geekbench5"
|
||||||
else # Geekbench v6
|
else # Geekbench v6
|
||||||
[[ $ARCH = *aarch64* || $ARCH = *arm* ]] && GB_URL="https://cdn.geekbench.com/Geekbench-6.5.0-LinuxARMPreview.tar.gz" \
|
[[ $ARCH = *aarch64* || $ARCH = *arm* ]] && GB_URL="https://cdn.geekbench.com/Geekbench-6.7.1-LinuxARMPreview.tar.gz" \
|
||||||
|| GB_URL="https://cdn.geekbench.com/Geekbench-6.5.0-Linux.tar.gz"
|
|| GB_URL="https://cdn.geekbench.com/Geekbench-6.7.1-Linux.tar.gz"
|
||||||
GB_CMD="geekbench6"
|
GB_CMD="geekbench6"
|
||||||
fi
|
fi
|
||||||
GB_RUN="True"
|
GB_RUN="True"
|
||||||
@@ -1037,7 +1037,7 @@ function launch_geekbench {
|
|||||||
printf "%-15s | %-30s\n" "Full Test" "$GEEKBENCH_URL"
|
printf "%-15s | %-30s\n" "Full Test" "$GEEKBENCH_URL"
|
||||||
|
|
||||||
if [[ -n $JSON ]]; then
|
if [[ -n $JSON ]]; then
|
||||||
JSON_RESULT+='{"version":'$VERSION',"single":'$GEEKBENCH_SCORES_SINGLE',"multi":'$GEEKBENCH_SCORES_MULTI
|
JSON_RESULT+='{"version":'$VERSION',"single":'${GEEKBENCH_SCORES_SINGLE:-null}',"multi":'${GEEKBENCH_SCORES_MULTI:-null}
|
||||||
JSON_RESULT+=',"url":"'$GEEKBENCH_URL'"},'
|
JSON_RESULT+=',"url":"'$GEEKBENCH_URL'"},'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user