Last active
November 4, 2016 00:41
-
-
Save okeuday/4874f2fe84d23e660ba37251e33b5e82 to your computer and use it in GitHub Desktop.
erlbench string_key results with no optimizations on https://github.com/CloudI/CloudI/tree/develop/src/tests/http_req#machine-1--122
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
erl +C multi_time_warp -noshell -pz ebin -s run test -s init stop | |
TEST string_key | |
N == 10 (10 runs) | |
aadict get: 2.1 us ( 1.1), set: 7.8 us ( 1.8) | |
btrie (binaries) get: 5.0 us ( 2.5), set: 19.8 us ( 4.5) | |
dict get: 5.4 us ( 2.7), set: 15.2 us ( 3.5) | |
ets (ordered_set) get: 5.1 us ( 2.6), set: 8.6 us ( 2.0) | |
ets (set) get: 5.5 us ( 2.8), set: 11.1 us ( 2.5) | |
ets x10 read (ordere get: 10.1 us ( 5.1) | |
ets x10 read (set) get: 12.1 us ( 6.1) | |
gb_trees get: 3.1 us ( 1.6), set: 13.2 us ( 3.0) | |
hashdict get: 4.8 us ( 2.4), set: 15.8 us ( 3.6) | |
hashtl get: 4.8 us ( 2.4), set: 8.8 us ( 2.0) | |
map get: 2.0 us ( 1.0), set: 4.4 us ( 1.0) | |
process dictionary get: 2.1 us ( 1.1), set: 11.7 us ( 2.7) | |
rbdict get: 2.2 us ( 1.1), set: 7.0 us ( 1.6) | |
trie get: 2.2 us ( 1.1), set: 17.6 us ( 4.0) | |
ttdict get: 3.0 us ( 1.5), set: 7.2 us ( 1.6) | |
N == 100 (10 runs) | |
aadict get: 43.1 us ( 1.8), set: 109.5 us ( 1.4) | |
btrie (binaries) get: 46.7 us ( 1.9), set: 166.5 us ( 2.1) | |
dict get: 62.6 us ( 2.6), set: 142.4 us ( 1.8) | |
ets (ordered_set) get: 67.0 us ( 2.8), set: 97.3 us ( 1.2) | |
ets (set) get: 50.2 us ( 2.1), set: 88.7 us ( 1.1) | |
ets x10 read (ordere get: 76.3 us ( 3.2) | |
ets x10 read (set) get: 67.1 us ( 2.8) | |
gb_trees get: 45.2 us ( 1.9), set: 147.0 us ( 1.9) | |
hashdict get: 48.7 us ( 2.0), set: 138.2 us ( 1.8) | |
hashtl get: 47.6 us ( 2.0), set: 77.9 us ( 1.0) | |
map get: 39.5 us ( 1.6), set: 79.6 us ( 1.0) | |
process dictionary get: 29.4 us ( 1.2), set: 104.0 us ( 1.3) | |
rbdict get: 43.1 us ( 1.8), set: 95.4 us ( 1.2) | |
trie get: 24.0 us ( 1.0), set: 135.6 us ( 1.7) | |
ttdict get: 55.4 us ( 2.3), set: 93.3 us ( 1.2) | |
N == 1000 (10 runs) | |
aadict get: 777.8 us ( 2.1), set: 1760.0 us ( 2.2) | |
btrie (binaries) get: 717.9 us ( 1.9), set: 2505.8 us ( 3.2) | |
dict get: 694.8 us ( 1.9), set: 2343.1 us ( 3.0) | |
ets (ordered_set) get: 825.3 us ( 2.2), set: 1234.4 us ( 1.6) | |
ets (set) get: 605.5 us ( 1.6), set: 1032.0 us ( 1.3) | |
ets x10 read (ordere get: 817.4 us ( 2.2) | |
ets x10 read (set) get: 671.8 us ( 1.8) | |
gb_trees get: 822.9 us ( 2.2), set: 2356.6 us ( 3.0) | |
hashdict get: 689.0 us ( 1.9), set: 2231.5 us ( 2.8) | |
hashtl get: 762.6 us ( 2.1), set: 988.0 us ( 1.2) | |
map get: 453.6 us ( 1.2), set: 792.4 us ( 1.0) | |
process dictionary get: 371.6 us ( 1.0), set: 1132.8 us ( 1.4) | |
rbdict get: 763.5 us ( 2.1), set: 1878.6 us ( 2.4) | |
trie get: 370.9 us ( 1.0), set: 1651.2 us ( 2.1) | |
ttdict get: 926.3 us ( 2.5), set: 1642.8 us ( 2.1) | |
N == 10000 (10 runs) | |
aadict get: 15479.3 us ( 1.8), set: 31017.8 us ( 2.2) | |
btrie (binaries) get: 10750.4 us ( 1.3), set: 41286.5 us ( 3.0) | |
dict get: 12100.1 us ( 1.4), set: 37389.4 us ( 2.7) | |
ets (ordered_set) get: 15443.3 us ( 1.8), set: 20307.6 us ( 1.5) | |
ets (set) get: 12291.9 us ( 1.4), set: 16812.9 us ( 1.2) | |
ets x10 read (ordere get: 11019.1 us ( 1.3) | |
ets x10 read (set) get: 9201.4 us ( 1.1) | |
gb_trees get: 15953.4 us ( 1.9), set: 39493.5 us ( 2.9) | |
hashdict get: 12544.0 us ( 1.5), set: 22510.2 us ( 1.6) | |
hashtl get: 13659.8 us ( 1.6), set: 21718.5 us ( 1.6) | |
map get: 9171.9 us ( 1.1), set: 13851.3 us ( 1.0) | |
process dictionary get: 8510.0 us ( 1.0), set: 18510.7 us ( 1.3) | |
rbdict get: 14857.9 us ( 1.7), set: 27395.3 us ( 2.0) | |
trie get: 9166.8 us ( 1.1), set: 28992.3 us ( 2.1) | |
ttdict get: 16514.0 us ( 1.9), set: 27163.3 us ( 2.0) | |
N == 100000 (10 runs) | |
aadict get: 327822.9 us ( 3.6), set: 527020.3 us ( 3.1) | |
btrie (binaries) get: 208362.4 us ( 2.3), set: 692169.0 us ( 4.0) | |
dict get: 170211.3 us ( 1.9), set: 725572.6 us ( 4.2) | |
ets (ordered_set) get: 203715.8 us ( 2.2), set: 245531.7 us ( 1.4) | |
ets (set) get: 120635.1 us ( 1.3), set: 172678.2 us ( 1.0) | |
ets x10 read (ordere get: 126054.8 us ( 1.4) | |
ets x10 read (set) get: 95033.8 us ( 1.0) | |
gb_trees get: 355520.6 us ( 3.9), set: 664569.8 us ( 3.8) | |
hashdict get: 146816.8 us ( 1.6), set: 256162.0 us ( 1.5) | |
hashtl get: 166419.0 us ( 1.8), set: 206822.9 us ( 1.2) | |
map get: 107464.9 us ( 1.2), set: 173329.5 us ( 1.0) | |
process dictionary get: 91241.7 us ( 1.0), set: 175493.2 us ( 1.0) | |
rbdict get: 312938.0 us ( 3.4), set: 476250.2 us ( 2.8) | |
trie get: 157661.4 us ( 1.7), set: 616009.8 us ( 3.6) | |
ttdict get: 328144.1 us ( 3.6), set: 453250.9 us ( 2.6) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment