Lightweight tool for single and multi core CPU benchmarks. MIT Licensed.
Supported OS platforms:
- Windows
- macOS(Darwin)
- Linux
Multi-core CPU Benchmark by Kevin Liu
Single-core CPU Benchmark by Alex Dedyura
| How to run | - | Benchmark reference |
git clone https://github.com/ReZeroE/cpu-benchmark.git
- Multicore Benchmark
-h | --help
Display help message-v | --verbose
Verbose Output-p | --processes
The number of cores to run the benchmark on (Default to the number of installed logical cores - 1)-l | --load
Benchmark load value, default to 50000 (Suggested: 5000~100000)
python ./multicore_cpubench
python ./multicore_cpubench -v --processes 16 --load 60000
- Singlecore Benchmark
python ./singlecore_cpubench
Reference Command:
$ python ./multicore_cpubench -l 50000
CPU | Logical Cores | OS | Avg. Process Time | Run Time | |
---|---|---|---|---|---|
✔️ | Intel(R) Xeon(R) Gold 5218 | 64 | CentOS | 5.674 seconds | 6.288 seconds |
✔️ | Apple M2 | 8 | Darwin | 24.721 seconds | 27.168 seconds |
✔️ | i9-12900K | 24 | x86_64 | 3.215 seconds | 5.656 seconds |
✔️ | i9-9900K | 16 | x86_64 | 8.825 seconds | 11.935 seconds |
⭕ | i9-11900H | 16 | Windows 11 | untested | untested |
⭕ | i5-9300H | 8 | Windows 11 | untested | untested |
⭕ | i9-11900H | 16 | Windows 11 | untested | untested |