Skip to content

Instantly share code, notes, and snippets.

@andremedeiros
Created November 18, 2014 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andremedeiros/8d79b37e62d841a658bd to your computer and use it in GitHub Desktop.
Save andremedeiros/8d79b37e62d841a658bd to your computer and use it in GitHub Desktop.
# Output for
# ST hash table
# Write operations
# 10,000 keys
# 100 runs
~/Source/sandbox/hashes2
❯ ./test st writes 10000
Value Percentile TotalCount 1/(1-Percentile)
818.000 0.000000 14 1.00
818.000 0.100000 14 1.11
819.000 0.200000 23 1.25
829.000 0.300000 30 1.43
839.000 0.400000 41 1.67
855.000 0.500000 50 2.00
866.000 0.550000 57 2.22
867.000 0.600000 62 2.50
876.000 0.650000 65 2.86
894.000 0.700000 70 3.33
951.000 0.750000 75 4.00
969.000 0.775000 78 4.44
995.000 0.800000 80 5.00
1107.000 0.825000 83 5.71
1126.000 0.850000 85 6.67
1147.000 0.875000 88 8.00
1150.000 0.887500 89 8.89
1155.000 0.900000 90 10.00
1158.000 0.912500 92 11.43
1163.000 0.925000 93 13.33
1179.000 0.937500 94 16.00
1224.000 0.943750 95 17.78
1224.000 0.950000 95 20.00
1262.000 0.956250 96 22.86
1314.000 0.962500 97 26.67
1314.000 0.968750 97 32.00
1349.000 0.971875 98 35.56
1349.000 0.975000 98 40.00
1349.000 0.978125 98 45.71
1371.000 0.981250 99 53.33
1371.000 0.984375 99 64.00
1371.000 0.985938 99 71.11
1371.000 0.987500 99 80.00
1371.000 0.989062 99 91.43
1489.000 0.990625 100 106.67
1489.000 1.000000 100 inf
#[Mean = 920.240, StdDeviation = 148.185]
#[Max = 1489.000, Total count = 100]
#[Buckets = 14, SubBuckets = 2048]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment