Simple benchmark which benches your single-core CPU performance using the pq-formula.
I am not responsible for any hardware damage, you run this programm on your own risk!
PQBench can be compiled with level 3 optimization using the g++ compiler on linux:
$ g++ -s -DNDEBUG -O3 mainpqthread.cpp -o pqbench
And installed by moving the executable into the bin folder:
$ sudo mv pqbench /bin/pqbench
Or alternatively just run directly in the compilation folder:
$ ./pqbench
PQBench provides following parameters:
-t, --time
-cs, --check-status
-oc, --overclocking
-h --help
-t, --time (Default active parameter)
Measures the time that has been taken to to make 5*10^10 calculations. The results are displayed in milliseconds, seconds and calculations per millisecond.
-cs, --check-status
The --check-status parameter can be used to verify the benchmark is running and not freezing. NOTE: Due to an extra thread running in the background, I recommand to use -t for proper benching.
-oc, --overclocking
This parameter can be used for realtime overclocking. It displays calculations per second in realtime and these will change during changing any CPU properties (e.g. CPU frequency). NOTE: Due to extra threads running in the background, I recommand to use -t for resonable results (after messing around with your CPU).
-h --help
It's the --help parameter, what do you expect.
PQBench (testphase) by ZombiDebugWall
Usage: pqbench [parameter]
-t, --time Measures time and calculations per ms [DEFAULT]
-cs, --check-status Shows if test is running properly or freezing
NOTE: This parameter might reduce performance (Use -t for proper performance testing)
-oc, --overclocking This parameter measures calculations per second in realtime, made for realtime overclocking
NOTE: This parameter will reduce performance due to realtime measurements (Again, use -t for proper performance testing)
-h --help print this message