Git Product home page Git Product logo

cpu-bench's Introduction

cpu-bench

CPU benchmark for measuring your machine performance easier without additional installation of benchmarking tool

Sources

Types

Language Filename Type Argument
Python 3 ./nbody-python3-1.py Single-core 50_000_000
Python 3 ./mandelbrot-python3-7.py Multi-core 50_000

Results

Machine Env Single-core time Multi-core time
MBP 16" 2021 macOS 13 ~161 sec ~446 sec
MBP M1 2020 macOS 13 ~267 sec ~624 sec
i9-9900K (4.8/4.6) Win 11 ~356 sec ~584 sec
Xeon E5-2696 v3 Ubuntu 22 ~362 sec ~374 sec
RPi 4B 4GB Debian 11 ~1049 sec ~4336 sec

Relative performance

Machine Env Single-core Multi-core
MBP 16" 2021 macOS 13 100% 100%
MBP M1 2020 macOS 13 60% 71%
i9-9900K (4.8/4.6) Win 11 45% 76%
Xeon E5-2696 v3 Ubuntu 22 44% 119%
RPi 4B 4GB Debian 11 15% 10%

Preparation

Ubuntu/Debian

sudo apt update -y && sudo apt upgrade -y
sudo apt install -y git python3

macOS

brew update
brew install git python

Windows 10 22H2+

winget install git python
# or
scoop install git python3 ps time

Installation

git clone https://github.com/dalisoft/cpu-bench.git
cd cpu-bench
time python3 {FILENAME}

cpu-bench's People

Contributors

dalisoft avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.