Skip to content

Instantly share code, notes, and snippets.

@j2labs
Created March 30, 2012 16:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save j2labs/2252671 to your computer and use it in GitHub Desktop.
Save j2labs/2252671 to your computer and use it in GitHub Desktop.
Brubeck vs. Tornado - Hello World-a-thon 2012
# All of this testing was done on an AWS m1.large with a single Python
# process. I ran the commands multiple times and the numbers below are
# typical of the behavior, though they are the results of two particular
# cases
# Brubeck with Gevent
$ siege -c500 -t10s localhost:6767/brubeck
Lifting the server siege... done.
Transactions: 9187 hits
Availability: 100.00 %
Elapsed time: 10.03 secs
Data transferred: 0.14 MB
Response time: 0.02 secs
Transaction rate: 915.95 trans/sec
Throughput: 0.01 MB/sec
Concurrency: 15.72
Successful transactions: 9189
Failed transactions: 0
Longest transaction: 0.43
Shortest transaction: 0.00
# Tornado
$ siege -c500 -t10s localhost:8000
Lifting the server siege... done.
Transactions: 7831 hits
Availability: 100.00 %
Elapsed time: 9.44 secs
Data transferred: 0.12 MB
Response time: 0.08 secs
Transaction rate: 829.56 trans/sec
Throughput: 0.01 MB/sec
Concurrency: 62.48
Successful transactions: 7831
Failed transactions: 0
Longest transaction: 3.09
Shortest transaction: 0.00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment