项目地址:https://github.com/masonr/yet-another-bench-script

curl -sL yabs.sh | bash

or

wget -qO- yabs.sh | bash

跑完脚本会输出如下内容:

# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
#              Yet-Another-Bench-Script              #
#                     v2022-06-11                    #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #

Wed Jun 22 17:30:35 CST 2022

Basic System Information:
---------------------------------
Uptime     : 18 days, 19 hours, 33 minutes
Processor  : Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz
CPU cores  : 2 @ 2899.996 MHz
AES-NI     : ✔ Enabled
VM-x/AMD-V : ❌ Disabled
RAM        : 1.4 GiB
Swap       : 1.5 GiB
Disk       : 18.2 GiB
Distro     : CentOS Linux 7 (Core)
Kernel     : 5.15.38-1.el7.x86_64

fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k            (IOPS) | 64k           (IOPS)
  ------   | ---            ----  | ----           ---- 
Read       | 56.82 MB/s   (14.2k) | 798.64 MB/s  (12.4k)
Write      | 56.92 MB/s   (14.2k) | 802.84 MB/s  (12.5k)
Total      | 113.75 MB/s  (28.4k) | 1.60 GB/s    (25.0k)
           |                      |                     
Block Size | 512k          (IOPS) | 1m            (IOPS)
  ------   | ---            ----  | ----           ---- 
Read       | 1.14 GB/s     (2.2k) | 1.06 GB/s     (1.0k)
Write      | 1.21 GB/s     (2.3k) | 1.13 GB/s     (1.1k)
Total      | 2.36 GB/s     (4.6k) | 2.19 GB/s     (2.1k)

iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed     
                |                           |                 |                
Clouvider       | London, UK (10G)          | 519 Mbits/sec   | 100 Mbits/sec  
Online.net      | Paris, FR (10G)           | 513 Mbits/sec   | 31.1 Mbits/sec 
Hybula          | The Netherlands (40G)     | 517 Mbits/sec   | 457 Mbits/sec  
Uztelecom       | Tashkent, UZ (10G)        | 446 Mbits/sec   | 46.2 Mbits/sec 
Clouvider       | NYC, NY, US (10G)         | 617 Mbits/sec   | 70.6 Mbits/sec 
Clouvider       | Dallas, TX, US (10G)      | 575 Mbits/sec   | 98.1 Mbits/sec 
Clouvider       | Los Angeles, CA, US (10G) | 667 Mbits/sec   | 566 Mbits/sec  

Geekbench 5 Benchmark Test:
---------------------------------
Test            | Value                         
                |                               
Single Core     | 479                           
Multi Core      | 721                           
Full Test       | https://browser.geekbench.com/v5/cpu/15600679