[erlang-questions] Benchmarking Erlang: Deathmatch of gb_trees, dict, ets, mnesia ... and registered names

Joel Reymont <>
Thu Oct 9 13:18:38 CEST 2008


%% mnesia disc_only_copies

()5> map5:test(10000).
Populate: 0.1501
Lookup:   5.0008
ok
()6> map5:test(100000).
Populate: 1.2503
Lookup:   5.0002
ok
()7> map5:test(1000000).
Populate: 10.1628
Lookup:   5.0006
ok

Is there a bug in my code? I thought disk access was supposed to be  
much slower!




More information about the erlang-questions mailing list