probe is a small tool that will measure your server response times
for calculation of various percentiles a stats pkg was used, in order to compile the binary go get it.
go get github.com/montanaflynn/stats
note: the pkg is not vendored at the moment - hopefully the authors of that pkg will not make any changes that could break the API.
at least Go 1.7 is required.
make build;make run
by default the app measures response times of the service at ‘https://gitlab.com' over 5 minutes. TODO: support for cmd args
by default tests are run with --race flag.
make test
for more verbous output set -v flag.
make test T_FLAGS="-v"