/example

An example benchmark written using the sysbench Lua API.

Primary LanguageLuaMIT LicenseMIT

sysbench Module Example

This is an example project implementing a simple benchmark using the sysbench Lua API.

To install from local Git tree:

luarocks make --local

To install from SysbenchRocks:

luarocks --server=rocks.sysbench.io --local install example

Try running the following commands after installation (with N and M being positive integers of your choice):

sysbench example help
sysbench example --counters=N --threads=M prepare
sysbench example --counters=N --threads=M run
sysbench example --counters=N aggregate
sysbench example cleanup

Useful links