Want to have a reference benchmark on your application’s page performance in Apache?

ab -c5 -n100 http://www.yoursite.com/yourscript.php

Here is a live example:

# ab -c5 -n100 http://alltherides.com/index.php

This is ApacheBench, Version 2.3

Benchmarking alltherides.com (be patient)…..done

Server Software:        Apache/2.2.9
Server Hostname:        alltherides.com
Server Port:            80

Document Path:          /index.php
Document Length:        0 bytes

Concurrency Level:      5
Time taken for tests:   11.754 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Non-2xx responses:      100
Total transferred:      60500 bytes
HTML transferred:       0 bytes
Requests per second:    8.51 [#/sec] (mean)
Time per request:       587.718 [ms] (mean)
Time per request:       117.544 [ms] (mean, across all concurrent requests)
Transfer rate:          5.03 [Kbytes/sec] received

Connection Times (ms)
min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:   345  579 123.3    565     991
Waiting:      344  578 122.5    565     991
Total:        345  579 123.3    565     991

Percentage of the requests served within a certain time (ms)
50%    565
66%    630
75%    662
80%    687
90%    747
95%    804
98%    923
99%    991
100%    991 (longest request)