This page contains results comparing ordered_set
with and without decentralized counters.
ets_SUITE:throughput_benchmark/0
(see "$ERL_TOP/lib/stdlib/test/ets_SUITE.erl
").
Below is a list with brief descriptions of the operations:
ets:insert/2
call with a random item within the key range as the second parameter valueets:remove/2
call with a random item within the key range as the second parameter valueets:lookup/2
call with a random item within the key range as the second parameter valueets:lookup/2
call with a random item within the key range as the second parameter valueets:next/2
calls. The first next
call is given a random item within the key range as the second parameter value, and the other next
calls are given the result of the previous next
call as the second parameter value.ets:select_count
call that counts all the items in the tableets:select_count
call that counts all the items within a random range of size XNote that that lines can also be hidden by clicking on the corresponding label.
[ordered_set,public]
[ordered_set,public,{write_concurrency,true}]
[ordered_set,public,{read_concurrency,true}]
[ordered_set,public,{write_concurrency,true},{read_concurrency,true}]
[set,public]
[set,public,{write_concurrency,true}]
[set,public,{read_concurrency,true}]
[set,public,{write_concurrency,true},{read_concurrency,true}]