Skip to content

Instantly share code, notes, and snippets.

@jamesgolick
Created November 8, 2011 00:57
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 jamesgolick/1346707 to your computer and use it in GitHub Desktop.
Save jamesgolick/1346707 to your computer and use it in GitHub Desktop.
irb(main):057:0> puts Benchmark.measure { Rails.cache.read_multi(*keys) }
0.000000 0.000000 0.000000 ( 0.047367)
=> nil
irb(main):058:0> puts Benchmark.measure { $memcached.get(keys) }
0.000000 0.000000 0.000000 ( 0.001607)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment