{"id":16164005,"url":"https://github.com/cyclenerd/benchmark","last_synced_at":"2025-03-18T22:31:24.773Z","repository":{"id":72096065,"uuid":"76397176","full_name":"Cyclenerd/benchmark","owner":"Cyclenerd","description":"🏋️ Bash Script which runs several Linux benchmarks (Sysbench, UnixBench and Geekbench)","archived":false,"fork":false,"pushed_at":"2023-08-18T14:10:28.000Z","size":35,"stargazers_count":56,"open_issues_count":1,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-28T12:45:48.152Z","etag":null,"topics":["bash","bash-hacks","bash-script","benchmark","benchmarking","benchmarks","geekbench","linux","linux-benchmarks","sysbench","unixbench"],"latest_commit_sha":null,"homepage":"https://www.nkn-it.de/benchmark_demo/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cyclenerd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"Cyclenerd"}},"created_at":"2016-12-13T20:49:27.000Z","updated_at":"2024-12-02T08:37:04.000Z","dependencies_parsed_at":"2024-01-16T20:29:41.275Z","dependency_job_id":"18ffcbd2-78cc-46f4-9489-1aec78e1a516","html_url":"https://github.com/Cyclenerd/benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyclenerd%2Fbenchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyclenerd%2Fbenchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyclenerd%2Fbenchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyclenerd%2Fbenchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cyclenerd","download_url":"https://codeload.github.com/Cyclenerd/benchmark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243955019,"owners_count":20374368,"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":["bash","bash-hacks","bash-script","benchmark","benchmarking","benchmarks","geekbench","linux","linux-benchmarks","sysbench","unixbench"],"created_at":"2024-10-10T02:44:58.406Z","updated_at":"2025-03-18T22:31:24.516Z","avatar_url":"https://github.com/Cyclenerd.png","language":"Shell","funding_links":["https://github.com/sponsors/Cyclenerd"],"categories":[],"sub_categories":[],"readme":"# benchmark.sh\n\nBash Script which runs several Linux benchmarks (Sysbench, UnixBench and Geekbench).\nI've tried to keep it simple. You can adjust it quickly.\n\n## Demo Output\n\nhttps://www.nkn-it.de/benchmark_demo/\n\n\n## Requirements\n\n* __GNU/Linux__\n\t* Currently only tested with Ubuntu and Fedora. Should also work with every other Linux distribution and Windows Subsystem for Linux (WSL).\n* [Bash](https://www.gnu.org/software/bash/)\n* [curl](https://curl.haxx.se/)\n* [Make](https://www.gnu.org/software/make/)\n* [GCC](https://gcc.gnu.org/install/)\n* [Perl](https://www.perl.org/get.html)\n* Network tools\n\t* ifconfig\n\t* ping\n\t* traceroute\n* PCI Utilities\n\t* lspci\n* [Hardware Lister (lshw)](http://www.ezix.org/project/wiki/HardwareLiSter)\n* [dd](https://www.gnu.org/software/coreutils/manual/)\n* [IOPing](https://github.com/koct9i/ioping)\n* [FIO](https://wiki.mikejung.biz/Benchmarking#Fio_Installation)\n* [SysBench](https://github.com/akopytov/sysbench)\n\nThese Ubuntu packages should be installed:\n\n```bash\napt-get install     \\\n\tbash            \\\n\tcurl            \\\n\tmake            \\\n\tgcc             \\\n\tbuild-essential \\\n\tnet-tools       \\\n\tinetutils-ping  \\\n\ttraceroute      \\\n\tpciutils        \\\n\tperl            \\\n\tlshw            \\\n\tioping          \\\n\tfio             \\\n\tsysbench\n```\n\n[UnixBench](https://github.com/kdlucas/byte-unixbench) and [Geekbench 5](http://geekbench.com/) are automatically loaded and are temporarily installed.\n\n\n## Installation\n\nDownload:\n\n\tcurl -f https://raw.githubusercontent.com/Cyclenerd/benchmark/master/benchmark.sh -o benchmark.sh\n\nAlternative download with short URL:\n\n\tcurl -fL http://bit.ly/benchmark_sh -o benchmark.sh\n\n\n## Usage\n\nRun as root:\n\n\tbash benchmark.sh\n\nUnlock Geekbench using EMAIL and KEY:\n\n\tbash benchmark.sh -e \u003cGeekbench license email\u003e -k \u003cGeekbench license key\u003e\n\nCreate GitHub gist with HTML results:\n\n\tbash benchmark.sh -g \u003cGitHub API token with scope gist\u003e\n\nHelp:\n\n\tbash benchmark.sh -h\n\n\n## Program Flow\n\n* Check the requirements\n* Download and build UnixBench\n* Download Geekbench 5\n* Get System info and versions\n\t* Hostename\n\t* Complete hardware\n\t* Kernel\n\t* Make\n\t* GCC\n* Run bandwidth benchmarks\n\t* ping\n\t* traceroute\n\t* 100 MB download with curl\n* Run I/O benchmarks\n\t* dd\n\t* IOPing\n\t* FIO\n* Run SysBench\n\t* CPU\n* Run UnixBench\n\t* The complete program! This takes a little longer.\n* Run Geekbench 5\n\t* CPU\n* Get uptime and load average\n* Calculate the complete duration (runtime)\n\n## ⚠️ Attention\n\nThis script generates a lot of load. Be aware of this. So you should just use the computer alone. Use at your own risk.\n\n## License\n\nGNU Public License version 3.\nPlease feel free to fork and modify this on GitHub (https://github.com/Cyclenerd/benchmark).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyclenerd%2Fbenchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyclenerd%2Fbenchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyclenerd%2Fbenchmark/lists"}