This project provides a script that can be used to easily benchmark the response time of different URLs, or the same URL but switching git branches.
This uses ab - Apache HTTP server benchmarking tool to collect the statistics, and gnuplot to draw them.
Here's a sample result:
You can use the provided ab-gnuplot
PHP script (on Windows you can call it by using the ab-gnuplot.bat
wrapper).
To get help, use the -h
option.
Example (when using the script directly):
./ab-gnuplot -h
You can also use the pre-built mlocati/ab-gnuplot
Docker image.
To get help, use the -h
option.
docker run --rm -it mlocati/ab-gnuplot -h