my3157 / cpu-benchmark

CPU benchmark by calculating Pi, powered by Python3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CPU Benchmark

cpu-logo
My benchmark allows you to find out the performance of your processor. The program calculates pi with an accuracy of 10,000 decimal places. The time spent on the calculation is counted as the test result. The result is determined by the average of 10 attempts. Powered by Python3. Lower is Better.

Supported architectures:

  • x86 (AMD, Intel)
  • ARM (Apple Silicon, Raspberry Pi, Qualcomm and etc)
  • VLIW* (МЦСТ Эльбрус)
  • RISC-V*

How to install

Install Python 3 from official website (Current)

https://www.python.org/downloads/

Clone repository and entering directory

git clone https://github.com/alexdedyura/cpu-benchmark
cd cpu-benchmark

Benchmark

python cpu-benchmark.py or python3 cpu-benchmark.py

Benchmark Results

CPU Arch OS Perfomance (Avg.) Verified
Apple M1 ARM macOS 11.5.2 19.534s
Apple M2 ARM macOS 13.2 14.779s
AMD Ryzen 5800X x86 Windows 11 22H2 16.389s
AMD Ryzen 5900HX x86 Unknown 17.352s
AMD Ryzen 4300GE x86 Linux 40.189s
Intel Core i3-8100 x86 Windows 10 20H2 30.636s
Intel Xeon Gold 6125 x86 Linux (Hyper-V, 8 threads) 30.781s
Raspberry Pi 400 ARM Ubuntu 20.04.4 LTS 81.589s
Intel Xeon E5-2630 v4 x86 Windows Server 2012 49.883s
Neoverse N1 ARM Linux (Ubuntu 20.04, 4 threads) 35.366s

About

CPU benchmark by calculating Pi, powered by Python3

License:GNU General Public License v3.0


Languages

Language:Python 100.0%