Skip to content

ggmartins/http_latency_plotter

Repository files navigation

Got a new BISmark router from the NOISE research team. Which wireless router is better?
Linksys WRT160NL (current) X Netgear n600 (new)
I will try to address that with one of my favorite network measurement tools (HTTPing).

Cabled Wireless

http_latency_plotter

HTTP round-trip time latency graphic plotter written in Python

Usage: http_latency_plotter.py [-h] [-v] [-f FILENAME] [-p]

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbosity       enable verbose outout
  -f FILENAME, --filename FILENAME
                        .csv filename to update data
  -p, --justplot        plot available .csv files

Edit http_latency_plotter.py head to change default params:

  maxsample=500
  httpaddr="ipaddr"
  httpmethod="HEAD"
  httppath="/"
  outfile="output"

Use cases:

$./http_latency_plotter.py <enter>

Generates [output.csv] and plot data to [output.pdf] if matplotlib available (Recommended for Pythonista)

$./http_latency_plotter.py -f test1

Generates [test1.csv] and plot data to [output.pdf]. Run more times to append (NOT overide) test1.csv with new data.

$./http_latency_plotter.py -f test2

Generates [test2.csv] and plot data [output.pdf] using test1.csv and test2.csv and any other .csv in the dir. Repeat the step changing the network configuration to generate multiple lines in the graphic.

$./http_latency_plotter.py -p

Use all .csv in the dir to generate graphics only (will not run HTTP requests and generate more data)

About

HTTP round-trip time latency written in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages