sysbench

sysbench is an app which allows to run performance tests on a Raspberry Pi

sudo apt install sysbench

Main command

sysbench –test=cpu –cpu-max-prime=5000 –num-threads=4 run