https://sevenzip.osdn.jp/chm/cmdline/commands/bench.htm
Measures speed of the CPU and checks RAM for errors.
Syntax:
b [number_of_iterations] [-mmt{N}] [-md{N}] [-mm={Method}]
Examples:
7za b
runs benchmarking.
7za b -mmt1 -md26
runs benchmarking with one thread and 64 MB dictionary.
7za b 30
runs benchmarking with default settings for 30 iterations.
7za b -mm=*
runs complex 7-Zip benchmark
Install:
curl -s https://packagecloud.io/install/repositories/akopytov/sysbench/script.rpm.sh | sudo bash
Example:
sysbench --test=cpu --cpu-max-prime=10000 run