Bash Script which:
- start WordPress in docker with default config (apache2, php 8.0, mysql 8.0, WordPress 5.8.1)
- run 2 benchmark (with 1 and 50 workers), default strategy (open “Hello, World!” page)
Contents:
- GNU/Linux
- Bash
- curl
- Hey
- Docker
- Docker-compose
These Ubuntu packages should be installed:
apt-get install bash curl hey docker docker-compose
bash benchmark.sh -s "/root/benchmark/wordpress-benchmark/wp_out_c1.csv" -m "/root/benchmark/wordpress-benchmark/wp_out_c50.csv"
You should use Hey HDR for calculate different measures (max/mean response time, total num of requests, etc)