Skip to content

Instantly share code, notes, and snippets.

@igrigorik
Created March 30, 2011 21:18
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 igrigorik/895326 to your computer and use it in GitHub Desktop.
Save igrigorik/895326 to your computer and use it in GitHub Desktop.
Key "a": present
Key "b": missing
--------------------------------------------
Connection Pool: 1
--------------------------------------------
ab -c5 -n2000 "http://127.0.0.1:9000/?key=b"
Requests per second: 732.98 [#/sec] (mean)
ab -c10 -n2000 "http://127.0.0.1:9000/?key=b"
Requests per second: 726.31 [#/sec] (mean)
ab -c20 -n2000 "http://127.0.0.1:9000/?key=b"
Requests per second: 701.81 [#/sec] (mean)
------
ab -c5 -n2000 "http://127.0.0.1:9000/?key=a"
Requests per second: 630.49 [#/sec] (mean)
ab -c10 -n2000 "http://127.0.0.1:9000/?key=a"
Requests per second: 629.22 [#/sec] (mean)
ab -c20 -n2000 "http://127.0.0.1:9000/?key=a"
Requests per second: 618.45 [#/sec] (mean)
--------------------------------------------
Connection Pool: 2
--------------------------------------------
ab -c5 -n2000 "http://127.0.0.1:9000/?key=b"
Requests per second: 723.88 [#/sec] (mean)
ab -c10 -n2000 "http://127.0.0.1:9000/?key=b"
Requests per second: 758.42 [#/sec] (mean)
ab -c10 -n2000 "http://127.0.0.1:9000/?key=b"
Requests per second: 729.29 [#/sec] (mean)
----
ab -c5 -n2000 "http://127.0.0.1:9000/?key=a"
Requests per second: 666.10 [#/sec] (mean)
ab -c10 -n2000 "http://127.0.0.1:9000/?key=a"
Requests per second: 677.26 [#/sec] (mean)
ab -c20 -n2000 "http://127.0.0.1:9000/?key=a"
Requests per second: 638.54 [#/sec] (mean)
--------------------------------------------
Connection Pool: 5
--------------------------------------------
ab -c5 -n2000 "http://127.0.0.1:9000/?key=b"
Requests per second: 706.76 [#/sec] (mean)
ab -c10 -n2000 "http://127.0.0.1:9000/?key=b"
Requests per second: 725.34 [#/sec] (mean)
ab -c10 -n2000 "http://127.0.0.1:9000/?key=b"
Requests per second: 714.15 [#/sec] (mean)
----
ab -c5 -n2000 "http://127.0.0.1:9000/?key=a"
Requests per second: 650.65 [#/sec] (mean)
ab -c10 -n2000 "http://127.0.0.1:9000/?key=a"
Requests per second: 665.90 [#/sec] (mean)
ab -c20 -n2000 "http://127.0.0.1:9000/?key=a"
Requests per second: 684.71 [#/sec] (mean)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment