]>
git.saurik.com Git - redis.git/blob - client-libraries/ruby/bench.rb
2 $
:.push File
.join(File
.dirname(__FILE__
), 'lib')
8 @r['foo'] = "The first line we sent to the server is some text"
10 x
.report("set") { 20000.times
{|i
| @r["foo#{i}"] = "The first line we sent to the server is some text"; @r["foo#{i}"]} }
13 @r.keys('*').each
do |k
|