Skip to content

Instantly share code, notes, and snippets.

@leepa
Created April 6, 2012 07:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save leepa/2317985 to your computer and use it in GitHub Desktop.
Save leepa/2317985 to your computer and use it in GitHub Desktop.
Sampling localhost:6379 DB:0 with 1000 RANDOMKEYS
TYPES
=====
string: 993 (99.30%) set: 7 (0.70%)
EXPIRES
=======
unknown: 336 (33.60%) 1206979: 6 (0.60%) 1205926: 4 (0.40%)
24230: 4 (0.40%) 1205589: 3 (0.30%) 1209453: 3 (0.30%)
1206965: 3 (0.30%) 1206855: 3 (0.30%) 41961: 3 (0.30%)
38964: 3 (0.30%) 1206840: 3 (0.30%) 1207614: 3 (0.30%)
1205515: 3 (0.30%) 1208433: 2 (0.20%) 1209250: 2 (0.20%)
1205320: 2 (0.20%) 1205518: 2 (0.20%) 1207741: 2 (0.20%)
72428: 2 (0.20%) 60852: 2 (0.20%) 1207484: 2 (0.20%)
(suppressed 543 items with perc < 0.5% for a total of 60.70%)
Average: 843969.04 Standard Deviation: 538354.51
Min: 14 Max: 1209599
Powers of two distribution: (NOTE <= p means: p/2 < x <= p)
<= 2097152: 456 (68.67%) <= 131072: 75 (11.30%) <= 65536: 62 (9.34%)
<= 32768: 44 (6.63%) <= 16384: 10 (1.51%) <= 8192: 9 (1.36%)
<= 4096: 5 (0.75%) <= 512: 1 (0.15%) <= 16: 1 (0.15%)
<= 2048: 1 (0.15%)
Note: 'unknown' expire means keys with no expire
STRINGS, SIZE OF VALUES
=======================
985: 88 (8.86%) 920: 76 (7.65%) 742: 45 (4.53%)
929: 44 (4.43%) 945: 42 (4.23%) 667: 36 (3.63%)
668: 36 (3.63%) 1001: 27 (2.72%) 731: 23 (2.32%)
965: 22 (2.22%) 912: 22 (2.22%) 957: 22 (2.22%)
953: 20 (2.01%) 653: 16 (1.61%) 650: 14 (1.41%)
981: 13 (1.31%) 654: 13 (1.31%) 969: 13 (1.31%)
629: 13 (1.31%) 638: 11 (1.11%) 621: 11 (1.11%)
619: 10 (1.01%) 630: 10 (1.01%) 643: 10 (1.01%)
65: 10 (1.01%) 726: 9 (0.91%) 649: 9 (0.91%)
645: 9 (0.91%) 644: 9 (0.91%) 655: 8 (0.81%)
635: 8 (0.81%) 941: 8 (0.81%) 614: 8 (0.81%)
757: 8 (0.81%) 618: 8 (0.81%) 623: 8 (0.81%)
639: 8 (0.81%) 989: 7 (0.70%) 622: 7 (0.70%)
993: 7 (0.70%) 724: 6 (0.60%) 628: 6 (0.60%)
636: 6 (0.60%) 738: 6 (0.60%) 659: 6 (0.60%)
613: 6 (0.60%) 641: 5 (0.50%) 647: 5 (0.50%)
743: 5 (0.50%) 615: 5 (0.50%) 961: 5 (0.50%)
616: 5 (0.50%) 627: 5 (0.50%) 634: 5 (0.50%)
625: 5 (0.50%) 977: 5 (0.50%) 620: 4 (0.40%)
(suppressed 68 items with perc < 0.5% for a total of 13.60%)
Average: 794.95 Standard Deviation: 180.60
Min: 10 Max: 1508
Powers of two distribution: (NOTE <= p means: p/2 < x <= p)
<= 1024: 958 (96.48%) <= 2048: 19 (1.91%) <= 128: 10 (1.01%)
<= 512: 5 (0.50%) <= 16: 1 (0.10%)
SETS, NUMBER OF ELEMENTS
========================
Average: 1.00 Standard Deviation: 0.00
Min: 1 Max: 1
Powers of two distribution: (NOTE <= p means: p/2 < x <= p)
<= 1: 7 (100.00%)
SETS, SIZE OF ELEMENTS
======================
5: 2 (28.57%) 9: 2 (28.57%) 11: 1 (14.29%)
8: 1 (14.29%) 6: 1 (14.29%)
Average: 7.57 Standard Deviation: 2.13
Min: 5 Max: 11
Powers of two distribution: (NOTE <= p means: p/2 < x <= p)
<= 8: 4 (57.14%) <= 16: 3 (42.86%)
Sampling localhost:6379 DB:1 with 1000 RANDOMKEYS
TYPES
=====
string: 951 (95.10%) list: 45 (4.50%) set: 4 (0.40%)
EXPIRES
=======
unknown: 49 (4.90%) 80843: 6 (0.60%) 11420: 5 (0.50%)
42415: 5 (0.50%) 33729: 5 (0.50%) 16600: 5 (0.50%)
30344: 5 (0.50%) 6630: 5 (0.50%) 41690: 5 (0.50%)
82411: 5 (0.50%) 60635: 5 (0.50%) 29014: 5 (0.50%)
43317: 5 (0.50%) 85642: 5 (0.50%) 22246: 5 (0.50%)
26881: 4 (0.40%) 12652: 4 (0.40%) 76514: 4 (0.40%)
72162: 4 (0.40%) 17129: 4 (0.40%) 76149: 4 (0.40%)
(suppressed 477 items with perc < 0.5% for a total of 85.60%)
Average: 45167.50 Standard Deviation: 23873.08
Min: 105 Max: 86243
Powers of two distribution: (NOTE <= p means: p/2 < x <= p)
<= 65536: 385 (40.48%) <= 131072: 222 (23.34%) <= 32768: 219 (23.03%)
<= 16384: 60 (6.31%) <= 8192: 41 (4.31%) <= 4096: 15 (1.58%)
<= 2048: 7 (0.74%) <= 128: 2 (0.21%)
Note: 'unknown' expire means keys with no expire
STRINGS, SIZE OF VALUES
=======================
69: 671 (70.56%) 67: 280 (29.44%)
Average: 68.41 Standard Deviation: 0.91
Min: 67 Max: 69
Powers of two distribution: (NOTE <= p means: p/2 < x <= p)
<= 128: 951 (100.00%)
LISTS, NUMBER OF ELEMENTS
=========================
430888: 9 (20.00%) 1548179: 4 (8.89%) 282880: 3 (6.67%)
693112: 3 (6.67%) 895780: 2 (4.44%) 282699: 2 (4.44%)
1938355: 2 (4.44%) 703113: 2 (4.44%) 664013: 2 (4.44%)
2140507: 2 (4.44%) 1938547: 2 (4.44%) 2158774: 2 (4.44%)
663749: 2 (4.44%) 692881: 2 (4.44%) 685247: 1 (2.22%)
703567: 1 (2.22%) 895549: 1 (2.22%) 1938724: 1 (2.22%)
703812: 1 (2.22%) 282800: 1 (2.22%)
Average: 941449.31 Standard Deviation: 635025.73
Min: 282699 Max: 2158774
Powers of two distribution: (NOTE <= p means: p/2 < x <= p)
<= 1048576: 17 (37.78%) <= 524288: 15 (33.33%) <= 2097152: 9 (20.00%)
<= 4194304: 4 (8.89%)
LISTS, SIZE OF ELEMENTS
=======================
487: 45 (100.00%)
Average: 487.00 Standard Deviation: 0.00
Min: 487 Max: 487
Powers of two distribution: (NOTE <= p means: p/2 < x <= p)
<= 512: 45 (100.00%)
SETS, NUMBER OF ELEMENTS
========================
Average: 10.25 Standard Deviation: 16.02
Min: 1 Max: 38
Powers of two distribution: (NOTE <= p means: p/2 < x <= p)
<= 1: 3 (75.00%) <= 64: 1 (25.00%)
SETS, SIZE OF ELEMENTS
======================
14: 2 (50.00%) 28: 1 (25.00%) 55: 1 (25.00%)
Average: 27.75 Standard Deviation: 16.74
Min: 14 Max: 55
Powers of two distribution: (NOTE <= p means: p/2 < x <= p)
<= 16: 2 (50.00%) <= 64: 1 (25.00%) <= 32: 1 (25.00%)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment