basho/basho_bench — pull request #58 by slfritchie (2012-12-26 23:04:46+00:00)
Title: basho_bench_stats:process_stats/2: Fix race in clearing counters

... usually only a problem when operation latency is extremely small. However, a race is a race.

Verify using:

%%
%% This basho_bench configuration file preloads a database with 10M
%% sequentially ordered keys.

{operations, [
{put, 1}
]}.

{mode, max}.
{concurrent, 100}.
{duration, 999}.
{report_interval, 1}.

{driver, basho_bench_driver_null}.

{key_generator, {partitioned_sequential_int, 10000000}}.

{value_generator, {fixed_bin, 1000}}.