1
0
mirror of https://github.com/masonr/yet-another-bench-script.git synced 2024-05-11 16:54:51 +00:00
Commit Graph

95 Commits

Author SHA1 Message Date
af78f35770 Improve Network Information (#70)
* Add Asian Location: Biznet ID

* Improve the Network Information

Sometimes from ip-api, either ISP or ASN is available, but it would not show since the condition is not satisfied. Fix to show if either value is present

* Fix spacing issue
2023-09-03 11:53:25 -04:00
2c91051dbf fix: reuse local geekbench, do not download it (#68) 2023-07-12 21:35:37 -04:00
007650e6df update GB6 to 6.1.0 (#67) 2023-06-15 13:13:39 -04:00
827e2db6cb update GB6 to 6.0.3 (#64) 2023-04-29 13:08:38 -04:00
68a571e48b update json output; geekbench v6.0.2; update readme 2023-04-23 14:23:19 -04:00
dd110ee036 replace all 'grep -P' instances (#59) 2023-03-24 23:23:48 -04:00
f275b27f34 fix ping permission error (#61) 2023-03-24 23:10:14 -04:00
3791aa84d2 updated network info output 2023-03-24 21:14:01 -04:00
436a951537 skip net info if no response; fix virt detect output 2023-03-24 01:00:35 -04:00
e597a7b2b9 hide error output if locale not found 2023-03-24 00:38:13 -04:00
3ef703ab68 Update GB6 to 6.0.1 (#60) 2023-03-15 15:50:17 -04:00
06eaa2ab3b added Geekbench 6 as default test; refactored geekbench code 2023-02-28 01:43:09 +00:00
d2fc09c5ef update GB5 to 5.5.1 (#57) 2023-02-26 13:49:20 -05:00
84f47e80b6 clean up network info lookup and output, allow opt-out 2023-02-26 18:31:22 +00:00
f075baf59c Add Basic Network Info and VM Type (#56)
* Add Basic Network Info

Added a function to display basic details from IP Address lookup. Use ip-api.com free API for this.

* Add VM Type in Basic Info

Add Virtualization type in basic info.
Inspired from bench.sh

* Suppress Error messages on VM check

* Better way to find virtualization

Most modern Linux systems use systemd as the system and service manager. The systemd package ships with the systemd-detect-virt utility, which we can use to detect a virtualization technology.
2023-02-26 13:23:00 -05:00
7aa3b79530 update GB5 to 5.4.6 (#54)
* update Geekbench 5

* update YABS_VERSION
2023-01-04 16:00:50 -05:00
9caccacc9e Display execution time (#51) 2022-12-20 09:36:30 -05:00
18bb6c2a05 Fixed bad output during latency test for missing ping command 2022-12-04 22:11:47 -05:00
f33187a492 Use $() notation instead of legacy backticks `` (#50)
* Use $() notation instead of legacy backticks ``

Line 45:
KERNEL_BIT=`getconf LONG_BIT`
Use $(...) notation instead of legacy backticks `...`.

* Use $() notation instead of legacy backticks ``

Here the full editing
Use $(...) notation instead of legacy backticks ....

Line 45:
KERNEL_BIT=`getconf LONG_BIT`
KERNEL_BIT=$(getconf LONG_BIT)

Line 254:
DATE=`date -Iseconds | sed -e "s/:/_/g"`
DATE=$(date -Iseconds | sed -e "s/:/_/g")

Line 428:
AVAIL_SPACE=`df -k . | awk 'NR==2{print $4}'`
AVAIL_SPACE=$(df -k . | awk 'NR==2{print $4}')

Line 603:
PORT=`shuf -i $PORTS -n 1`
PORT=$(shuf -i $PORTS -n 1)

Line 631:
PORT=`shuf -i $PORTS -n 1`
PORT=$(shuf -i $PORTS -n 1)

Line 793:
$GEEKBENCH_PATH/geekbench_x86_32 --unlock `cat geekbench.license` > /dev/null 2>&1
$GEEKBENCH_PATH/geekbench_x86_32 --unlock $(cat geekbench.license) > /dev/null 2>&1

Line 801:
$GEEKBENCH_PATH/geekbench4 --unlock `cat geekbench.license` > /dev/null 2>&1
$GEEKBENCH_PATH/geekbench4 --unlock $(cat geekbench.license) > /dev/null 2>&1

Line 826:
$GEEKBENCH_PATH/geekbench5 --unlock `cat geekbench.license` > /dev/null 2>&1
$GEEKBENCH_PATH/geekbench5 --unlock $(cat geekbench.license) > /dev/null 2>&1

Have a nice day!
Cheers!
-Ajee
2022-11-30 22:25:29 -05:00
8467f89896 update binaries - fio v3.33; iperf3 v3.12 2022-11-23 00:47:58 -05:00
b3a7dcb142 Fix for #41 (bad GB run causing malformed json) 2022-11-22 23:58:01 -05:00
4aad8ab896 Update NovoServe NL iperf location 2022-11-22 23:55:33 -05:00
f7361e67f4 Consistent Enforcement of the Speed Test Location Naming (#48)
* Rename Online.net to Scaleway

They rebranded back in 2020, I think that should be reflected in the YABS output too by now.

* Rename "The Netherlands" to "North Holland, NL"

All IPERF locations are named by `<CITY/AREA>, <TWO-LETTER-COUNTRY-CODE` just not this one.
2022-11-22 23:53:14 -05:00
589ae10925 Add fixes for latency merge 2022-11-22 23:49:34 -05:00
7eefdda781 added latency to net-test (#43)
- added a simple latency test to the function launch_iperf (will display in table + output in json)
- added two locations (AT & GER) to the IPERF_LOCS
2022-11-22 23:46:52 -05:00
c84049d22d update tools to latest version - fio (v3.31), iperf (v3.11), gb (v5.4.5) 2022-08-20 10:54:24 -04:00
6af3d0210c modified json output to file flag 2022-08-19 19:27:32 -04:00
506cdc4991 change json schema and add additional json flags 2022-08-17 00:24:54 -04:00
ae24e70fbf Add support to upload JSON results (Issue #9) 2022-08-15 00:13:11 -04:00
e59709c26c Fix iperf server details 2022-06-11 17:48:13 -04:00
4fffb306d4 Reduce iperf test attempts from 5 to 3 2022-06-11 17:46:39 -04:00
6df3c0140c Update iperf servers 2022-06-11 17:39:36 -04:00
f7f11143aa Added extra sys info (credit emperor on LES); added wget compatibility 2022-05-06 13:08:27 -04:00
4a50bbd6f1 Disable faulty/redundant iperf locations 2022-04-30 08:23:26 -04:00
7934f55cbf Add 40G NL iperf (#37) 2022-04-30 08:21:23 -04:00
46f4ba2a88 Removed IPv6 command (GitHub now supports v6) 2022-02-18 22:57:29 -05:00
3434f50e69 update Geekbench (v5.4.4); update links in readme 2021-12-28 16:20:56 -05:00
3b122ed13c fix formatting 2021-12-03 10:50:07 -05:00
57e384081c update to latest geekbench release 2021-11-30 22:51:47 -05:00
624e7e9f51 added option to force use of precompiled binaries (see #27) 2021-11-30 00:36:13 -05:00
90c6b56814 reorganized pre-compiled binaries 2021-11-29 23:56:04 -05:00
f93aa1660a added warning if missing 'C' locale (issue #24) 2021-11-29 19:53:50 -05:00
1a56f57811 add additional iperf3 location (APAC - Singapore - WebHorizon) 2021-10-09 11:39:14 -04:00
87a664260b Merge pull request #28 from felixonmars/patch-1
Correct typos in yabs.sh
2021-10-08 11:33:38 -04:00
6af7852a57 temporarily remove biznet (Indonesia) iperf server from network test 2021-10-08 11:25:19 -04:00
ec23bdda2c Correct typos in yabs.sh 2021-08-08 17:56:34 +08:00
773220d760 Hotfix for bad CPU output on ARM machines 2021-06-10 23:18:06 -04:00
857e14efe8 add ARM compatibility 2021-06-05 03:12:29 -04:00
11ff29fb16 Update to latest utilities; iperf3 v3.10; fio v3.27; GB5 v5.4.1 2021-05-28 17:07:10 -04:00
ffc4d4a799 Add new additional ports to Clouvider iperf3 locations; Decrese iperf attempts from 10 to 5 2021-02-21 03:00:16 -05:00