ApacheBench

June 3, 2006

Interesting differences running ab -n 1000 -c 10 http://localhost/

1.5Ghz PowerBook G4 running Apache 1.3.3 OS X 10.4.6

Server Software: Apache/1.3.33

Server Hostname: localhost

Server Port: 80



Document Path: /

Document Length: 1456 bytes



Concurrency Level: 10

Time taken for tests: 2.432 seconds

Complete requests: 1000

Failed requests: 0

Broken pipe errors: 0

Total transferred: 1867000 bytes

HTML transferred: 1456000 bytes

Requests per second: 411.18 [#/sec] (mean)

Time per request: 24.32 [ms] (mean)

Time per request: 2.43 [ms] (mean, across all concurrent requests)

Transfer rate: 767.68 [Kbytes/sec] received



Connnection Times (ms)

min mean[+/-sd] median max

Connect: 0 1 1.4 0 13

Processing: 8 22 28.9 13 292

Waiting: 2 22 28.9 12 291

Total: 8 23 28.8 13 292



Percentage of the requests served within a certain time (ms)

50% 13

66% 15

75% 18

80% 23

90% 41

95% 75

98% 134

99% 153

100% 292 (last request)



And Mac mini 1.25 Apache 2.2 OS X 10.4.6 Server:

Server Software: Apache/2.2.0

Server Hostname: localhost

Server Port: 80



Document Path: /

Document Length: 5634 bytes



Concurrency Level: 10

Time taken for tests: 2.655151 seconds

Complete requests: 1000

Failed requests: 0

Write errors: 5

Total transferred: 5939098 bytes

HTML transferred: 5622732 bytes

Requests per second: 376.63 [#/sec] (mean)

Time per request: 26.552 [ms] (mean)

Time per request: 2.655 [ms] (mean, across all concurrent requests)

Transfer rate: 2184.06 [Kbytes/sec] received



Connection Times (ms)

min mean[+/-sd] median max

Connect: 0 0 3.2 0 97

Processing: 4 25 27.1 15 140

Waiting: 0 0 0.0 0 0

Total: 4 25 27.3 15 140



Percentage of the requests served within a certain time (ms)

50% 15

66% 15

75% 20

80% 26

90% 56

95% 110

98% 118

99% 130

100% 140 (longest request)