This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the web-development category.
Last Updated: 2024-11-21
The Apache Benchmark (ab
) tool is a simple way to do rough benchmarks of a site's speed
ab -k -n 10000 -c 200 https://www.example.com/
Meaning of this code
Optionally you will want to pass other headers
You'll get some results.
E.g. I had serious issues (2/3 of requests dropped) at this level
Complete requests: 10000
Failed requests: 6718
Time per request: 3363.407 [ms] (mean)
Connection Times (ms)
min mean[+/-sd] median max
Connect: 327 443 250.9 386 4684
Processing: 195 2864 2551.9 2414 24075
Waiting: 127 2747 2552.6 2288 23958
Total: 586 3307 2660.2 2824 25621
Check if the response times (means, min/max, failed requests) are acceptable for your use case.