Function Repository Resource:

GetNetworkSpeed

Source Notebook

Get information on your network's bandwidth

Contributed by: Michael Sollami

ResourceFunction["GetNetworkSpeed"][]

generates a basic summary of network bandwidth information.

ResourceFunction["GetNetworkSpeed"]["Ookla"]

generates a summary of network speed information using the Ookla service.

ResourceFunction["GetNetworkSpeed"]["WolframCloud"]

generates a summary of operation timings in the Wolfram Cloud.

Details

ResourceFunction["GetNetworkSpeed"][All] will perform all tests and report the results.
To use Ookla, you must install their command line interface, which needs to be available to RunProcess. MacOS users can attempt a brew installation with the convenience ResourceFunction["GetNetworkSpeed"]["InstallOoklaCLI"]. The output of the speedtest utility looks like this:
Ping time and response times are measured using the host www.google.com.

Examples

Basic Examples (5) 

Get an estimate of network bandwidth:

In[1]:=
ResourceFunction["GetNetworkSpeed"][]
Out[1]=

Get information on your network's bandwidth using Ookla:

In[2]:=
ResourceFunction["GetNetworkSpeed"]["Ookla"]
Out[2]=

If Ookla's command line interface (called speedtest) is not available, it throws a message and returns $Failed:

In[3]:=
ResourceFunction["GetNetworkSpeed"]["Ookla"]
Out[3]=

On macOS, you can try installing it with this convenience:

In[4]:=
ResourceFunction["GetNetworkSpeed"]["InstallOoklaCLI"]
Out[4]=

Get the speed of Wolfram Cloud operations:

In[5]:=
ResourceFunction["GetNetworkSpeed"]["Wolfram"]
Out[5]=

Perform all network speed tests:

In[6]:=
ResourceFunction["GetNetworkSpeed"][All]
Out[6]=

If Ookla is not available, only the other test results are reported:

In[7]:=
ResourceFunction["GetNetworkSpeed"][All]
Out[7]=

Publisher

Michael Sollami

Version History

  • 1.0.0 – 01 March 2021

Related Resources

License Information