Skip to content
/ ben Public

Simple benchmarking using shell. DNS, CPU, Disk, Connection.

License

Notifications You must be signed in to change notification settings

insign/ben

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ben

Simple benchmarking using shell

Take a look at YABS too, which we use a lot of code.

Install

  1. Clone the repo or download the zip:
git clone https://github.com/insign/ben.git && cd ben
  1. Mark it as executable
chmod +x ./ben

Soon I'll make it available to run without install

Usage

DNS

Test using the most popular DNS servers (see ipv4.csv)

./ben dns
./ben dns youtube.com
./ben dns wikipedia.org

Disk

./ben disk

CPU / System

./ben cpu

Connection Speed

./ben conn

TO-DO

  • Add CPU, disk and connection benchmarking
    • Verify possible flags to use (using YABS)
    • Add speedtest.net to the connection test
      • Add fast.com (currently I only found using headless chrome)
  • Add IPv6 DNS benchmarking
  • Add colors to output
  • Use a bash framework
    • Catch errors thrown by network failure
  • Manipulate results better. e.g: sort
    • Accept --json parameter to show machine values
  • Save results locally
  • Save results online
    • on public server
    • on private server
    • add privacy terms
  • Create fast install command
  • DNS
    • implement "popular" flags to limit number of popular servers
    • flag to add custom DNS without editing proper file
  • Test DNS ordered by random
  • Add ben to xpm
  • Add auto-update
  • Create a container image to run without install
  • Command to run using curl instead install
  • Unit tests

Privacy & Security

Since there is a lot of connections to make the tests happens, if you care about you privacy, please do not use this tool.

And don't forget to read YABS home too.

License

GNU Affero General Public License v3.0

Contribute

For now, you can just make a PR.

Thanks

Releases

No releases published

Packages

No packages published