Sign inSign up

tullo/ab

By tullo

•Updated over 7 years ago

ApacheBench (ab) - a single-threaded tool for measuring the performance of HTTP web servers

Image
0

1.5K

tullo/ab repository overview

⁠ApacheBench (ab)

ApacheBench (ab) is the default entrypoint, which can be overwritten with e.g. --entrypoint /usr/bin/htpasswd

⁠Usage

$ docker run --name ab --rm tullo/ab -r -n 400 -c 10 http://example/

⁠Generate gnuplot readable file

Use the -g switch to tell ab to write a 'gnuplot file' ready for post prcessing via gnuplot

$ docker run -it --name ab --rm --entrypoint /bin/sh tullo/ab
$ ab -r -n 400 -c 10 -g gnuplot.tsv http://example/
⁠Apache Benchmark and GNU Plot

Let's try to look at response time (in ms) over time (seconds, serially)

$ docker cp ab:/gnuplot.tsv ./gnuplot/data/gnuplot.tsv
$ cd gnuplot && gnuplot jpegplot.script

⁠Credit

Tag summary

Content type

Image

Digest

Size

2.9 MB

Last updated

over 7 years ago

docker pull tullo/ab