An open API service indexing awesome lists of open source software.

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

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:

![Sample image](https://raw.githubusercontent.com/mlocati/ab-gnuplot/main/images/example.png)

## 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
```