first commit

This commit is contained in:
antirez
2009-03-22 10:30:00 +01:00
commit ed9b544e10
110 changed files with 13641 additions and 0 deletions

View File

@ -0,0 +1,11 @@
require 'benchmark'
$:.push File.join(File.dirname(__FILE__), 'lib')
require 'redis'
times = 20000
@r = Redis.new
(0..1000000).each{|x|
@r[x] = "Hello World"
puts x if (x > 0 and x % 10000) == 0
}