cache/priv/cache.benchmark
2013-04-26 23:24:05 +03:00

28 lines
499 B
Plaintext

{code_paths, ["./ebin"]}.
{log_level, info}.
{report_interval, 1}.
{driver, cache_benchmark}.
%%
%% workload
{mode, max}.
{duration, 1}.
{concurrent, 10}.
{key_generator, {uniform_int, 1000000}}.
{value_generator, {fixed_bin, 1000}}.
{operations, [
{put, 5}
,{get, 5}
%,{remove, 1}
]}.
%{cache, {mycache, 'cache@127.0.0.1'}}.
{local, [
{ttl, 20}
,{n, 10}
,{policy, lru}
%,{size, 500000}
%,{memory, 400000000}
]}.