mirror of
https://github.com/redis/redis.git
synced 2026-04-15 14:30:06 -04:00
Fix HLL gnuplot graph generator script for new redis-rb versions.
The PFADD now takes an array and has mandatory two arguments.
This commit is contained in:
parent
c55e3fbae5
commit
47dea01c85
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ def run_experiment(r,seed,max,step)
|
|||
elements << ele
|
||||
i += 1
|
||||
}
|
||||
r.pfadd('hll',*elements)
|
||||
r.pfadd('hll',elements)
|
||||
approx = r.pfcount('hll')
|
||||
err = approx-i
|
||||
rel_err = 100.to_f*err/i
|
||||
|
|
|
|||
Loading…
Reference in a new issue