[erlang-questions] Benchmarking Erlang: Deathmatch of gb_trees, dict, ets, mnesia ... and registered names
Joel Reymont
joelr1@REDACTED
Thu Oct 9 13:45:14 CEST 2008
lookup(N) ->
P = global:whereis_name(N),
true = is_process_alive(P),
lookup(N - 1).
This should be enough for error checking, right?
(1@REDACTED)4> c(map7).
{ok,map7}
(1@REDACTED)5> map7:test(100000).
Populate: 265.2531
Lookup: 0.0831
ok
The timings are not much off!
--
wagerlabs.com
More information about the erlang-questions
mailing list