examples/fill.rb in remcached-0.3.1 vs examples/fill.rb in remcached-0.4.0
- old
+ new
@@ -1,12 +1,12 @@
#!/usr/bin/env ruby
# Experimentally determine how many items fit in your memcached
# instance. Adjust parameters below for your scenario.
-BATCH_SIZE = 1000
-KEY_SIZE = 20
-VALUE_SIZE = 20
+BATCH_SIZE = 10000
+KEY_SIZE = 26
+VALUE_SIZE = 0
$: << File.dirname(__FILE__) + "/../lib"
require 'remcached'