Skip to content

Instantly share code, notes, and snippets.

@espeed
Created September 11, 2011 09:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save espeed/1209359 to your computer and use it in GitHub Desktop.
Save espeed/1209359 to your computer and use it in GitHub Desktop.
POSTs...
$ httperf --server localhost --port 8182 --uri "/graphs/wordgraph/vertices?element_type=word&name=testing" --method POST --num-conns=1000 --num-calls=1
httperf --client=0/1 --server=localhost --port=8182 --uri=/graphs/wordgraph/vertices?element_type=word&name=testing --send-buffer=4096 --recv-buffer=16384 --method=POST --num-conns=1000 --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 1000 requests 1000 replies 1000 test-duration 7.910 s
Connection rate: 126.4 conn/s (7.9 ms/conn, <=1 concurrent connections)
Connection time [ms]: min 0.4 avg 7.9 max 39.3 median 6.5 stddev 4.1
Connection time [ms]: connect 0.2
Connection length [replies/conn]: 1.000
Request rate: 126.4 req/s (7.9 ms/req)
Request size [B]: 119.0
Reply rate [replies/s]: min 127.0 avg 127.0 max 127.0 stddev 0.0 (1 samples)
Reply time [ms]: response 7.6 transfer 0.1
Reply size [B]: header 185.0 content 127.0 footer 2.0 (total 314.0)
Reply status: 1xx=0 2xx=1000 3xx=0 4xx=0 5xx=0
CPU time [s]: user 1.17 system 6.21 (user 14.8% system 78.5% total 93.2%)
Net I/O: 53.3 KB/s (0.4*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
GETs...
$ httperf --server localhost --port 8182 --uri "/graphs/wordgraph/vertices/1" --num-conns=1000 --num-calls=1
httperf --client=0/1 --server=localhost --port=8182 --uri=/graphs/wordgraph/vertices/1 --send-buffer=4096 --recv-buffer=16384 --num-conns=1000 --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 1000 requests 1000 replies 1000 test-duration 4.696 s
Connection rate: 212.9 conn/s (4.7 ms/conn, <=1 concurrent connections)
Connection time [ms]: min 0.2 avg 4.7 max 24.3 median 4.5 stddev 2.5
Connection time [ms]: connect 0.2
Connection length [replies/conn]: 1.000
Request rate: 212.9 req/s (4.7 ms/req)
Request size [B]: 89.0
Reply rate [replies/s]: min 0.0 avg 0.0 max 0.0 stddev 0.0 (0 samples)
Reply time [ms]: response 4.4 transfer 0.1
Reply size [B]: header 185.0 content 119.0 footer 2.0 (total 306.0)
Reply status: 1xx=0 2xx=1000 3xx=0 4xx=0 5xx=0
CPU time [s]: user 0.74 system 3.70 (user 15.7% system 78.7% total 94.5%)
Net I/O: 81.9 KB/s (0.7*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