Skip to content

Instantly share code, notes, and snippets.

@danmayer
Created June 18, 2009 00:10
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 danmayer/131610 to your computer and use it in GitHub Desktop.
Save danmayer/131610 to your computer and use it in GitHub Desktop.
#new right_aws branch using AWS select
dan-mayers-computer:dm-adapter-simpledb dmayer$ ruby scripts/simple_benchmark.rb
I, [2009-06-17T16:53:27.007866 #33498] INFO -- : New RightAws::SdbInterface using single-threaded mode
I, [2009-06-17T16:53:27.009036 #33498] INFO -- : Opening new HTTPS connection to sdb.amazonaws.com:443
warning: peer certificate won't be verified in this SSL session
user system total real
creating 200 users 1.020000 0.240000 1.260000 ( 35.715608)
Finding all users age 25 (all of them), 100 Times 59.280000 8.640000 67.920000 ( 99.727380)
#old aws_sdb using query with attributes
dan-mayers-computer:dm-adapter-simpledb dmayer$ ruby scripts/simple_benchmark.rb
user system total real
creating 200 users 1.290000 0.530000 1.820000 ( 52.916103)
Finding all users age 25 (all of them), 100 Times356.640000 53.090000 409.730000 (3574.260988)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment