Skip to content
Yet another unofficial speedtest.net client cli interface
C++ C CMake Dockerfile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Set serverInfo.id if --test-server is specified so that --share actua… Jun 6, 2018
.travis.yml Fix travis script Aug 22, 2018
CMakeLists.txt Switch to steady clock (#18) Nov 20, 2018
CmdOptions.h add --output json option (#24) Dec 1, 2019
DataTypes.h Fix udp test (#9) Jul 12, 2017
Dockerfile A Dockerfile Sep 4, 2016
MD5Util.cpp Usage added Jun 4, 2016
MD5Util.h Usage added Jun 4, 2016
README.md Modified install instructions Ubuntu (#21) Dec 1, 2019
SpeedTest.cpp Switch to steady clock (#18) Nov 20, 2018
SpeedTest.h
SpeedTestClient.cpp Switch to steady clock (#18) Nov 20, 2018
SpeedTestClient.h Switch to steady clock (#18) Nov 20, 2018
SpeedTestConfig.h.in Fix udp test (#9) Jul 12, 2017
TestConfigTemplate.h
main.cpp add --output json option (#24) Dec 1, 2019

README.md

Build Status

SpeedTest++

Yet another unofficial speedtest.net client cli interface

It supports the new (undocumented) raw TCP protocol for better accuracy.

Features

  1. Best server discovery based on speed and distance from you.

  2. Line type discovery to select the best test profile based on your line speed.

  3. Aggressive multi-threading program in order to saturate your bandwidth quickly.

  4. Test supported: Ping / Jitter / Download speed / Upload speed / Packet loss (UDP).

  5. Provide a URL to the speedtest.net share results image using option --share

Installation

Requirements

  1. A modern C++ compiler
  2. cmake
  3. libcurl
  4. libssl
  5. libxml2

On Mac OS X

$ brew install cmake
$ cd cmake_build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make install

On Ubuntu/Debian

$ sudo apt-get install build-essential libcurl4-openssl-dev libxml2-dev libssl-dev cmake
$ git clone https://github.com/taganaka/SpeedTest
$ cd SpeedTest
$ cmake -DCMAKE_BUILD_TYPE=Release .
$ sudo make install

Usage

$ ./SpeedTest --help
SpeedTest++ version 1.8
Speedtest.net command line interface
Info: https://github.com/taganaka/SpeedTest
Author: Francesco Laurita <francesco.laurita@gmail.com>

Usage: ./SpeedTest  [--latency] [--quality] [--download] [--upload] [--share] [--help]
      [--test-server host:port] [--quality-server host:port] [--output verbose|text]
optional arguments:
  --help                      Show this message and exit
  --latency                   Perform latency test only
  --quality                   Perform quality test only. It includes latency test
  --download                  Perform download test only. It includes latency test
  --upload                    Perform upload test only. It includes latency test
  --share                     Generate and provide a URL to the speedtest.net share results image
  --test-server host:port     Run speed test against a specific server
  --quality-server host:port  Run line quality test against a specific server
  --output verbose|text       Set output type. Default: verbose
$

License

SpeedTest++ is available as open source program under the terms of the MIT License.

You can’t perform that action at this time.