antirez f284e37f24 showfreq.rb: collect more data for better graphs. il y a 5 ans
..
README.md f1b3a485b4 Improve README of better-random-member directory. il y a 5 ans
showdist.rb e6948b8f28 showdist.rb utility for SRANDMEMBER analysis added. il y a 5 ans
showfreq.rb f284e37f24 showfreq.rb: collect more data for better graphs. il y a 5 ans

README.md

The utilities in this directory plot the distribution of SRANDMEMBER to evaluate how fair it is.

See http://theshfl.com/redis_sets for more information on the topic that lead to such investigation fix.

showdist.rb -- shows the distribution of the frequency elements are returned.

           The x axis is the number of times elements were returned, and
           the y axis is how many elements were returned with such
           frequency.

showfreq.rb -- shows the frequency each element was returned.

           The x axis is the element number.
           The y axis is the times it was returned.