tools

various tools I have been using throughout the years
Log | Files | Refs | README | LICENSE

README.md (1524B)


      1 # speediness
      2 
      3 A network speed test. Downloads 100 MB from OVH and uploads 100 MB to Cloudflare, printing live throughput and a final summary for each.
      4 
      5 ## Building
      6 
      7 ```sh
      8 zig build
      9 ```
     10 
     11 ## Usage
     12 
     13 Running without arguments prints the help:
     14 
     15 ```sh
     16 speediness
     17 ```
     18 
     19 Pass one or more options to run the test. Each unspecified option falls back to
     20 its default, so the original behaviour is `--upload-mb 100` with the default URLs:
     21 
     22 ```sh
     23 speediness --download-url <url> --upload-url <url> --upload-mb <n>
     24 ```
     25 
     26 | Option           | Description           | Default                                  |
     27 | ---------------- | --------------------- | ---------------------------------------- |
     28 | `--download-url`  | URL to download from       | `https://proof.ovh.net/files/100Mb.dat`  |
     29 | `--upload-url`    | URL to upload to           | `https://speed.cloudflare.com/__up`      |
     30 | `--upload-mb`     | Megabytes to upload        | `100`                                    |
     31 | `--both`          | Run both tests             |                                          |
     32 | `--download-only` | Run the download test only |                                          |
     33 | `--upload-only`   | Run the upload test only   |                                          |
     34 | `-h`, `--help`    | Show help and exit         |                                          |
     35 
     36 Output example:
     37 
     38 ```
     39  104.9 MB   4.18 MB/s   33.4 Mbps
     40 104.9 MB in 23.92s => 4.18 MB/s  (33.4 Mbps)
     41   104.9 MB   2.88 MB/s   23.1 Mbps
     42 104.9 MB in 34.67s => 2.88 MB/s  (23.1 Mbps)
     43 
     44 ```