showfreq.rb: collect more data for better graphs.
This commit is contained in:
parent
f1b3a485b4
commit
f284e37f24
@ -5,7 +5,7 @@ r.select(9)
|
|||||||
r.del("myset");
|
r.del("myset");
|
||||||
r.sadd("myset",(0..999).to_a)
|
r.sadd("myset",(0..999).to_a)
|
||||||
freq = {}
|
freq = {}
|
||||||
100.times {
|
500.times {
|
||||||
res = r.pipelined {
|
res = r.pipelined {
|
||||||
1000.times {
|
1000.times {
|
||||||
r.srandmember("myset")
|
r.srandmember("myset")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user