{"id":20625359,"url":"https://github.com/insign/ben","last_synced_at":"2025-04-15T15:05:26.566Z","repository":{"id":41567610,"uuid":"447925702","full_name":"insign/ben","owner":"insign","description":"Simple benchmarking using shell. DNS, CPU, Disk, Connection.","archived":false,"fork":false,"pushed_at":"2024-06-26T22:23:28.000Z","size":60,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T15:05:20.409Z","etag":null,"topics":["benchmarking","cpu","dns","gpu","hacktoberfest","shell","shell-script","speedtest"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/insign.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-14T10:19:17.000Z","updated_at":"2024-09-01T22:22:17.000Z","dependencies_parsed_at":"2022-09-04T15:34:10.631Z","dependency_job_id":null,"html_url":"https://github.com/insign/ben","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/insign%2Fben","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insign%2Fben/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insign%2Fben/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insign%2Fben/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/insign","download_url":"https://codeload.github.com/insign/ben/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249094931,"owners_count":21211837,"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":["benchmarking","cpu","dns","gpu","hacktoberfest","shell","shell-script","speedtest"],"created_at":"2024-11-16T13:09:24.082Z","updated_at":"2025-04-15T15:05:26.548Z","avatar_url":"https://github.com/insign.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ben\n\n### Simple \u003cins\u003eben\u003c/ins\u003echmarking using shell\n\n\u003e Take a look at [YABS](https://github.com/masonr/yet-another-bench-script) too, which we use a lot of code.\n\n\n## Install\n\n1. Clone the repo or [download the zip](https://github.com/insign/ben/archive/refs/heads/main.zip):\n\n```shell\ngit clone https://github.com/insign/ben.git \u0026\u0026 cd ben\n```\n\n2. Mark it as executable\n\n```shell\nchmod +x ./ben\n```\n\n\u003e [Soon](#to-do) I'll make it available to run without install\n\n## Usage\n\n#### DNS\n\n\u003e Test using the most popular DNS servers (see [ipv4.csv](ipv4.csv))\n\n```shell\n./ben dns\n./ben dns youtube.com\n./ben dns wikipedia.org\n```    \n\n#### Disk\n\n```shell\n./ben disk\n```\n\n#### CPU / System\n\n```shell\n./ben cpu\n```\n\n#### Connection Speed\n\n```shell\n./ben conn\n```\n\n## TO-DO\n\n- [x] Add CPU, disk and connection benchmarking\n    - [ ] Verify possible flags to use (using YABS)\n    - [ ] Add speedtest.net to the connection test\n        - [ ] Add fast.com (currently I only found using headless chrome)\n- [ ] Add IPv6 DNS benchmarking\n- [ ] Add colors to output\n- [ ] Use a bash framework\n    - [ ] Catch errors thrown by network failure\n- [ ] Manipulate results better. e.g: sort\n    - [ ] Accept --json parameter to show machine values\n- [ ] Save results locally\n- [ ] Save results online\n    - [ ] on public server\n    - [ ] on private server\n    - [ ] add privacy terms\n- [ ] Create fast install command\n- [ ] DNS\n  - [ ] implement \"popular\" flags to limit number of popular servers\n  - [ ] flag to add custom DNS without editing proper file\n- [ ] Test DNS ordered by random\n- [ ] Add ben to [xpm](https://github.com/insign/xpm)\n- [ ] Add auto-update\n- [ ] Create a container image to run without install\n- [ ] Command to run using curl instead install\n- [ ] Unit tests\n\n## Privacy \u0026 Security\n\nSince there is a lot of connections to make the tests happens, if you care about you privacy, please do not use this\ntool.\n\u003e And don't forget to read [YABS](https://github.com/masonr/yet-another-bench-script) home too.\n\n## License\n\n[GNU Affero General Public License v3.0](LICENSE.md)\n\n## Contribute\n\nFor now, you can just make a PR.\n\n## Thanks\n\n* [bashly](https://github.com/DannyBen/bashly) - bash CLI generator, and his\n  creator [Danny Ben Shitrit](https://github.com/DannyBen)\n* [YABS](https://github.com/masonr/yet-another-bench-script) which we use a lot of code, and his\n  creator [Mason Rowe](https://github.com/masonr).\n* DNS test was inspired by [Alexander Chumakov](https://github.com/delfer)'\n  s [gist](https://gist.github.com/delfer/34f0d85d1f4474e6d9fd4c47f749bcb8)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsign%2Fben","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finsign%2Fben","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsign%2Fben/lists"}