Skip to content

Repository files navigation

cpu-benchmark

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 |



How to run

1. Installation

git clone https://github.com/ReZeroE/cpu-benchmark.git

2. Run Benchmark

  • 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

Benchmark Reference

Reference Command:

$ python ./multicore_cpubench -l 50000
CPULogical CoresOSAvg. Process TimeRun Time
✔️Intel(R) Xeon(R) Gold 521864CentOS5.674 seconds6.288 seconds
✔️Apple M28Darwin24.721 seconds27.168 seconds
✔️i9-12900K24x86_643.215 seconds5.656 seconds
✔️i9-9900K16x86_648.825 seconds11.935 seconds
✔️AMD Ryzen 7 4800H8Windows 1112.572 seconds16.202 seconds
✔️Intel i5-10210U8Windows 1132.276 seconds44.918 seconds
✔️Intel i5-6500T4Windows 1139.853 seconds54.143 seconds
✔️Apple M410macOS(Darwin)6.775 seconds7.255 seconds
i9-11900H16Windows 11untesteduntested
i5-9300H8Windows 11untesteduntested
i9-11900H16Windows 11untesteduntested

About

Lightweight tool for single and multi core CPU benchmarks. MIT Licensed.

Resources

Stars

6 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages