Apache Benchmark is also known as ApacheBench
See ApacheBenchmark for more information on the Apache HTTP Server Benchmarking Tool.
Sample header output of
ab utility:
# ab -n 10
http://<servername>/twiki/bin/view/TWiki/TimBernersLee?skin=classic
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.8 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
(taken from
DakarPerformanceIssues)
--
Contributors: MartinCleaver,
PeterThoeny
Discussion
quiet:/data/backups# ab2 -n 1000 -c 100 http://10.10.10.91/TWikiRelease04x00/bin/view
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.8 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
Benchmarking 10.10.10.91 (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Finished 1000 requests
Server Software: Apache/2.2.0
Server Hostname: 10.10.10.91
Server Port: 80
Document Path: /TWikiRelease04x00/bin/view
Document Length: 16808 bytes
Concurrency Level: 100
Time taken for tests: 411.224205 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 17470816 bytes
HTML transferred: 17219862 bytes
Requests per second: 2.43 [#/sec] (mean)
Time per request: 41122.421 [ms] (mean)
Time per request: 411.224 [ms] (mean, across all concurrent requests)
Transfer rate: 41.49 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 61 450.3 0 3527
Processing: 15824 38535 17173.8 34569 341733
Waiting: 12246 27182 5928.5 26441 129310
Total: 15824 38596 17191.3 34610 341736
Percentage of the requests served within a certain time (ms)
50% 34610
66% 37304
75% 40034
80% 42316
90% 51560
95% 61815
98% 94111
99% 104721
100% 341736 (longest request)