- option -t (or --threads) determines the number of worker threads
running asio job scheduler (io_context).
- value of --async_xacts indicates how many concurrent transactions should be running
(only applies to '-m build' or '-m run')
- concurrent transactions whose count is specified in --async_xacts
walks through the workload sequence (-x) as worker threads would in
synchronous execution mode: i.e. --async_xacts=0.
- concurrent transactions in async mode, as would worker threads in sync mode,
divide up the insertion range in build mode,
and iteration limit in 'run' mode.
- No need to repeat parts of the messages: e.g. "ERROR: "
- Thread-specific information prefixed before messages: e.g. "WORKER[ 1: 4]"
- Misc. C-to-CPP styling
* more controlled shared memory access
* simplified thread arguments
* use namespace 'mako'
* separate headers by their concerns (time, statistics, shared memory)
* introduce Stopwatch class