summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2019-02-19 12:01:26 +0100
committerantirez <antirez@gmail.com>2019-02-19 12:01:26 +0100
commitf1b3a485b4b9d1b36df32d8161a89ffefbcaba07 (patch)
tree12197006d6fe8ea29499392eba3a6bdf6b0265f3
parenta317349cb2363e2bf8f151cb4d9614dd508e9d0e (diff)
downloadredis-better-random-member.tar.gz
Improve README of better-random-member directory.better-random-member
-rw-r--r--utils/srandmember/README.md16
1 files changed, 14 insertions, 2 deletions
diff --git a/utils/srandmember/README.md b/utils/srandmember/README.md
index e6dae5ba8..d3da1e82f 100644
--- a/utils/srandmember/README.md
+++ b/utils/srandmember/README.md
@@ -1,2 +1,14 @@
-This utility plots the distribution of SRANDMEMBER to evaluate how fair it is.
-See http://theshfl.com/redis_sets for more information on the topic.
+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.