https://github.com/mlocati/ab-gnuplot
An easy-to-use script to benchmark websites
https://github.com/mlocati/ab-gnuplot
Last synced: about 2 months ago
JSON representation
An easy-to-use script to benchmark websites
- Host: GitHub
- URL: https://github.com/mlocati/ab-gnuplot
- Owner: mlocati
- License: mit
- Created: 2020-10-20T17:24:50.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-23T19:20:22.000Z (over 4 years ago)
- Last Synced: 2025-02-05T08:37:16.065Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 59.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ab-gnuplot
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](https://httpd.apache.org/docs/2.4/programs/ab.html) to collect the statistics, and [gnuplot](http://www.gnuplot.info/) to draw them.
## Sample output
Here's a sample result:

## Usage
### Using the script directly
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):
```sh
./ab-gnuplot -h
```### Using the Docker image
You can also use the pre-built [`mlocati/ab-gnuplot` Docker image](https://hub.docker.com/r/mlocati/ab-gnuplot).
To get help, use the `-h` option.
```sh
docker run --rm -it mlocati/ab-gnuplot -h
```