For general information about basho_bench, please refer to the original README
Basho Bench is a benchmarking tool created to conduct accurate and repeatable performance tests and stress tests, and produce performance graphs.
Two files are added for benchmarking floppystore:
- src/basho_bench_driver_floppystore.erl: defines the initialization of a benchmarking thread and how it executes put/get operations.
- examples/floppstore.config: contains benchmark parameters.
$ ./basho_bench examples/floppystore.config
At the end of the benchmark, results will be available in CSV
format in the tests/current/
directory. Now you can generate a
graph:
$ make results
$ open tests/current/summary.png
Right now it only has put/get interfaces and there is no support for transaction. It only put/get for riak_dt_gcounter.