简单的 Linux 基准测试工具

时间:2021-04-03 13:24:15

标签: linux performance

我似乎记得 Windows 有(拥有)一些工具,可以让您测量 PC 的性能。

这有点简单,但您会得到一个简单的数字(例如 5 分之 4.2)来告诉您 PC 的性能如何。

Linux 有没有类似的东西?

我已经尝试过 sysbench 并且我真的对必须解释一堆胡言乱语不感兴趣。例如

sysbench --test=cpu run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)

Running the test with following options:
Number of threads: 1
Initializing random number generator from current time


Prime numbers limit: 10000

Initializing worker threads...

Threads started!

CPU speed:
    events per second:  1076.94

General statistics:
    total time:                          10.0001s
    total number of events:              10771

Latency (ms):
         min:                                    0.69
         avg:                                    0.93
         max:                                   14.34
         95th percentile:                        1.25
         sum:                                 9994.25

Threads fairness:
    events (avg/stddev):           10771.0000/0.00
    execution time (avg/stddev):   9.9942/0.00

0 个答案:

没有答案