Skip to content

Instantly share code, notes, and snippets.

@d4l3k
Last active December 15, 2015 00:49
Show Gist options
  • Save d4l3k/5175571 to your computer and use it in GitHub Desktop.
Save d4l3k/5175571 to your computer and use it in GitHub Desktop.
Sinatra w/ Unicorn benchmark: loading a file from Redis. Machine specs: 2.83 GHz Core 2 Quad, 8gb of RAM
% siege http://localhost:4567/1/edit -c 100 -t 60s -b
** SIEGE 2.72
** Preparing 100 concurrent users for battle.
The server is now under siege...
Lifting the server siege... done.
Transactions: 5889 hits
Availability: 100.00 %
Elapsed time: 59.88 secs
Data transferred: 19.58 MB
Response time: 1.01 secs
Transaction rate: 98.35 trans/sec
Throughput: 0.33 MB/sec
Concurrency: 99.10
Successful transactions: 5889
Failed transactions: 0
Longest transaction: 1.10
Shortest transaction: 0.07
% siege http://localhost:4567/1/edit -c 100 -t 60s -b
** SIEGE 2.72
** Preparing 100 concurrent users for battle.
The server is now under siege...
Lifting the server siege... done.
Transactions: 21857 hits
Availability: 100.00 %
Elapsed time: 59.28 secs
Data transferred: 72.66 MB
Response time: 0.27 secs
Transaction rate: 368.71 trans/sec
Throughput: 1.23 MB/sec
Concurrency: 99.72
Successful transactions: 21857
Failed transactions: 0
Longest transaction: 0.40
Shortest transaction: 0.11
% siege http://localhost:4567/1/edit -c 100 -t 60s -b
** SIEGE 2.72
** Preparing 100 concurrent users for battle.
The server is now under siege...
Lifting the server siege... done.
Transactions: 20362 hits
Availability: 100.00 %
Elapsed time: 59.13 secs
Data transferred: 67.69 MB
Response time: 0.29 secs
Transaction rate: 344.36 trans/sec
Throughput: 1.14 MB/sec
Concurrency: 99.72
Successful transactions: 20362
Failed transactions: 0
Longest transaction: 1.13
Shortest transaction: 0.09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment