Created
September 21, 2012 20:38
-
-
Save framallo/3763756 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
running this url: | |
$ curl http://localhost:3000/projects/2 | |
<html><body>You are being <a href="http://localhost:3000/users/sign_in">redirected</a>.</body></html> | |
# with puma | |
# $ siege -c 20 -r 100 -b http://localhost:3000/projects/2 | |
** SIEGE 2.72 | |
** Preparing 20 concurrent users for battle. | |
The server is now under siege... | |
done. | |
Transactions: 4000 hits | |
Availability: 100.00 % | |
Elapsed time: 43.34 secs | |
Data transferred: 3.48 MB | |
Response time: 0.21 secs | |
Transaction rate: 92.29 trans/sec | |
Throughput: 0.08 MB/sec | |
Concurrency: 19.43 | |
Successful transactions: 4000 | |
Failed transactions: 0 | |
Longest transaction: 5.48 | |
Shortest transaction: 0.02 | |
FILE: /usr/local/var/siege.log | |
You can disable this annoying message by editing | |
the .siegerc file in your home directory; change | |
the directive 'show-logfile' to false. | |
# with unicorn | |
$ siege -c 20 -r 100 -b http://localhost:3000/projects/2 | |
** SIEGE 2.72 | |
** Preparing 20 concurrent users for battle. | |
The server is now under siege.. done. | |
Transactions: 4000 hits | |
Availability: 100.00 % | |
Elapsed time: 29.08 secs | |
Data transferred: 3.48 MB | |
Response time: 0.14 secs | |
Transaction rate: 137.55 trans/sec | |
Throughput: 0.12 MB/sec | |
Concurrency: 19.93 | |
Successful transactions: 4000 | |
Failed transactions: 0 | |
Longest transaction: 0.34 | |
Shortest transaction: 0.03 | |
FILE: /usr/local/var/siege.log | |
You can disable this annoying message by editing | |
the .siegerc file in your home directory; change | |
the directive 'show-logfile' to false. | |
# bottomline: | |
# unicorn: trans/sec: 137.55 Concurrency: 19.93 | |
# puma: trans/sec: 92.29 Concurrency: 19.43 | |
# unicorn rocks, puma sucks | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment