{"id":17951246,"url":"https://github.com/dalisoft/cpu-bench","last_synced_at":"2025-10-04T23:38:59.738Z","repository":{"id":103619405,"uuid":"600901551","full_name":"dalisoft/cpu-bench","owner":"dalisoft","description":"CPU benchmark for measuring your machine performance easier without additional installation of benchmarking tool","archived":false,"fork":false,"pushed_at":"2023-09-17T10:36:36.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T16:17:31.364Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dalisoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-12T23:15:01.000Z","updated_at":"2024-03-21T13:45:34.000Z","dependencies_parsed_at":"2024-10-29T10:29:18.811Z","dependency_job_id":null,"html_url":"https://github.com/dalisoft/cpu-bench","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dalisoft/cpu-bench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalisoft%2Fcpu-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalisoft%2Fcpu-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalisoft%2Fcpu-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalisoft%2Fcpu-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dalisoft","download_url":"https://codeload.github.com/dalisoft/cpu-bench/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalisoft%2Fcpu-bench/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263348202,"owners_count":23452870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-29T09:44:54.933Z","updated_at":"2025-10-04T23:38:54.688Z","avatar_url":"https://github.com/dalisoft.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cpu-bench\n\nCPU benchmark for measuring your machine performance easier without additional installation of benchmarking tool\n\n## Sources\n\n- \u003chttps://benchmarksgame-team.pages.debian.net/benchmarksgame/index.html\u003e\n- \u003chttps://www.youtube.com/watch?v=5ksXJGKF3Ug\u003e\n\n## Types\n\n| Language | Filename                    | Type        | Argument   |\n| -------- | --------------------------- | ----------- | ---------- |\n| Python 3 | `./nbody-python3-1.py`      | Single-core | 50_000_000 |\n| Python 3 | `./mandelbrot-python3-7.py` | Multi-core  | 50_000     |\n\n## Results\n\n| Machine            | Env       | Single-core time | Multi-core time |\n| ------------------ | --------- | ---------------- | --------------- |\n| MBP 16\" 2021       | macOS 13  | ~161 sec         | ~446 sec        |\n| MBP M1 2020        | macOS 13  | ~267 sec         | ~624 sec        |\n| i9-9900K (4.8/4.6) | Win 11    | ~356 sec         | ~584 sec        |\n| Xeon E5-2696 v3    | Ubuntu 22 | ~362 sec         | ~374 sec        |\n| RPi 4B 4GB         | Debian 11 | ~1049 sec        | ~4336 sec       |\n\n## Relative performance\n\n| Machine            | Env       | Single-core | Multi-core |\n| ------------------ | --------- | ----------- | ---------- |\n| MBP 16\" 2021       | macOS 13  | 100%        | 100%       |\n| MBP M1 2020        | macOS 13  | 60%         | 71%        |\n| i9-9900K (4.8/4.6) | Win 11    | 45%         | 76%        |\n| Xeon E5-2696 v3    | Ubuntu 22 | 44%         | 119%       |\n| RPi 4B 4GB         | Debian 11 | 15%         | 10%        |\n\n## Preparation\n\n### Ubuntu/Debian\n\n```sh\nsudo apt update -y \u0026\u0026 sudo apt upgrade -y\nsudo apt install -y git python3\n```\n\n### macOS\n\n```sh\nbrew update\nbrew install git python\n```\n\n### Windows 10 22H2+\n\n```sh\nwinget install git python\n# or\nscoop install git python3 ps time\n```\n\n## Installation\n\n```sh\n\ngit clone https://github.com/dalisoft/cpu-bench.git\ncd cpu-bench\ntime python3 {FILENAME}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalisoft%2Fcpu-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdalisoft%2Fcpu-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalisoft%2Fcpu-bench/lists"}