Skip to content

Instantly share code, notes, and snippets.

@akitaonrails
Created April 1, 2009 04:22
Show Gist options
  • Save akitaonrails/88547 to your computer and use it in GitHub Desktop.
Save akitaonrails/88547 to your computer and use it in GitHub Desktop.
### NGINX:
$ httperf --server=akitaonrails.local --uri=/posts --rate=5 --num-conns=5
httperf --client=0/1 --server=akitaonrails.local --port=80 --uri=/posts --rate=5 --send-buffer=4096 --recv-buffer=16384 --num-conns=5 --num-calls=1
httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open files to FD_SETSIZE
Maximum connect burst length: 1
Total: connections 5 requests 5 replies 5 test-duration 28.137 s
Connection rate: 0.2 conn/s (5627.3 ms/conn, <=5 concurrent connections)
Connection time [ms]: min 26808.5 avg 27161.9 max 27533.1 median 27106.5 stddev 324.2
Connection time [ms]: connect 0.1
Connection length [replies/conn]: 1.000
Request rate: 0.2 req/s (5627.3 ms/req)
Request size [B]: 76.0
Reply rate [replies/s]: min 0.0 avg 0.0 max 0.0 stddev 0.0 (5 samples)
Reply time [ms]: response 26916.0 transfer 245.8
Reply size [B]: header 669.0 content 2020161.0 footer 0.0 (total 2020830.0)
Reply status: 1xx=0 2xx=5 3xx=0 4xx=0 5xx=0
CPU time [s]: user 1.31 system 9.27 (user 4.7% system 32.9% total 37.6%)
Net I/O: 350.7 KB/s (2.9*10^6 bps)
Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0
### APACHE:
$ httperf --server=akitaonrails.local --uri=/posts --rate=5 --num-conns=5
httperf --client=0/1 --server=akitaonrails.local --port=80 --uri=/posts --rate=5 --send-buffer=4096 --recv-buffer=16384 --num-conns=5 --num-calls=1
httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open files to FD_SETSIZE
Maximum connect burst length: 1
Total: connections 5 requests 5 replies 5 test-duration 32.832 s
Connection rate: 0.2 conn/s (6566.4 ms/conn, <=5 concurrent connections)
Connection time [ms]: min 26355.2 avg 28063.4 max 32230.7 median 27126.5 stddev 2376.9
Connection time [ms]: connect 0.1
Connection length [replies/conn]: 1.000
Request rate: 0.2 req/s (6566.4 ms/req)
Request size [B]: 76.0
Reply rate [replies/s]: min 0.0 avg 0.1 max 0.8 stddev 0.3 (6 samples)
Reply time [ms]: response 27020.9 transfer 1042.4
Reply size [B]: header 697.0 content 2020161.0 footer 0.0 (total 2020858.0)
Reply status: 1xx=0 2xx=5 3xx=0 4xx=0 5xx=0
CPU time [s]: user 2.23 system 11.95 (user 6.8% system 36.4% total 43.2%)
Net I/O: 300.6 KB/s (2.5*10^6 bps)
Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment