Skip to content

Latest commit

 

History

History
103 lines (74 loc) · 2.51 KB

README.md

File metadata and controls

103 lines (74 loc) · 2.51 KB

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