-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support to upload JSON results (Issue #9)
- Loading branch information
Showing
3 changed files
with
114 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,11 +41,22 @@ curl -sL yabs.sh | bash -s -- -{bfdighr49} | |
* `-r` this option reduces the number of iperf locations (Online.net/Clouvider LON+NYC) to lessen bandwidth usage | ||
* `-4` this option overrides the Geekbench 5 performance test and runs a Geekbench 4 test instead | ||
* `-9` this option runs the Geekbench 4 test in addition to the Geekbench 5 test | ||
* `-j <url>` this option sends a JSON representation of the results to the designated URL (see section below) | ||
|
||
Options can be grouped together to skip multiple tests, i.e. `-fg` to skip the disk and system performance tests (effectively only testing network performance). | ||
|
||
**Geekbench License Key**: A Geekbench license key can be utilized during the Geekbench test to unlock all features. Simply put the email and key for the license in a file called _geekbench.license_. `echo "[email protected] ABCDE-12345-FGHIJ-57890" > geekbench.license` | ||
|
||
### Submitting JSON Results | ||
|
||
Results from running this script can be sent to your benchmark results website of choice in JSON format. Invoke the `-j` flag and pass the URL to where the results should be submitted to: | ||
|
||
``` | ||
curl -sL yabs.sh | bash -s -- -j "https://example.com/yabs/post" | ||
``` | ||
|
||
A list of websites supporting acceptance of YABS JSON results will be posted here (when available). Example JSON output: [example.json](bin/example.json). | ||
|
||
## Tests Conducted | ||
|
||
* **[fio](https://github.com/axboe/fio)** - the most comprehensive I/O testing software available, fio grants the ability to evaluate disk performance in a variety of methods with a variety of options. Four random read and write fio disk tests are conducted as part of this script with 4k, 64k, 512k, and 1m block sizes. The tests are designed to evaluate disk throughput in near-real world (using random) scenarios with a 50/50 split (50% reads and 50% writes per test). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"version": "v2022-08-15", | ||
"arch": "x64", | ||
"ipv4": true, | ||
"ipv6": false, | ||
"uptime": 3916629.77, | ||
"cpu": { | ||
"model": "Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz", | ||
"cores": 12, | ||
"freq": "4000.093 MHz" | ||
}, | ||
"aes": true, | ||
"virt": true, | ||
"ram": 32720272, | ||
"swap": 41904120, | ||
"disk": 47170290544, | ||
"distro": "Ubuntu 20.04.4 LTS", | ||
"kernel": "5.4.0-120-generic", | ||
"fio": [ | ||
["4k", 154305, 38576, 154712, 38678, 309017, 77254], | ||
["64k", 210851, 3294, 211961, 3311, 422812, 6605], | ||
["512k", 222221, 434, 234028, 457, 456249, 891], | ||
["1m", 227198, 221, 242330, 236, 469528, 457] | ||
], | ||
"iperf": [ | ||
["IPv4", "Clouvider", "London, UK (10G)", "128 Mbits/sec", "65.4 Mbits/sec"], | ||
["IPv4", "Online.net", "Paris, FR (10G)", "116 Mbits/sec", "busy "], | ||
["IPv4", "Clouvider", "NYC, NY, US (10G)", "140 Mbits/sec", "97.1 Mbits/sec"] | ||
], | ||
"geekbench": [ | ||
[4, 5449, 24198, "https://browser.geekbench.com/v4/cpu/16602397"], | ||
[5, 1170, 5999, "https://browser.geekbench.com/v5/cpu/16636699"] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters