Skip to content

Instantly share code, notes, and snippets.

@danmayer
Created June 22, 2009 05:05
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/133812 to your computer and use it in GitHub Desktop.
Save danmayer/133812 to your computer and use it in GitHub Desktop.
#new right_aws branch using AWS select
$ ruby scripts/simple_benchmark.rb
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
$ 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 Times
356.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