Test a servers HTTP performance with apache benchmark

Posted about 3 years ago

You can benchmark a servers performance using apache benchmark (ab).


ab -n 100 -c 100 http://localhost:3000

ab = Apache Benchmark
-n = number of requests to send
-c = Concurrency requests (so in this case, 100 attempts performing each one at the same time)
Followed by the host (and in this case, the port number)