basho/basho_bench — pull request #27 by slfritchie (2012-03-23 02:28:19+00:00)
Title: Add custom unit reporting option for driver plugins

Give driver plugins the option of reporting something other than
operations per second, e.g. megabytes per second. Add some additional
code for incrementing counters that are floats instead of integers.

Driver plugins that wish to take advantage of this feature should
return `{{ok, Number}, DriverState}` where Number may be either
integer() or float() types. However, the current implementation
probably will not correctly handle a mixture of both types; drivers
should always use one type or the other.

Add -Y / --ylabel1stgraph option to `priv/summary.r` to allow the
user to specify the Y axis label on the first/top summary graph,
e.g. --ylabel1stgraph MBytes/sec