-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workload/tpcc: extend --wait to also support fractions
In order to use TPC-C for operational testing (i.e. NOT benchmarking) it is useful to increase the rate of transactions without altogether saturating the TPS capacity (`--wait=false`). For this purpose, this commit extends the syntax accepted by `--wait` to recognize a multiplier which is applied to all wait times. The default is 1.0 (i.e. 100% of the wait time required by a benchmark). The words `true`/`on` and `false`/`off` are aliases for 1.0 and 0.0, respectively. Release note: None
- Loading branch information
Showing
2 changed files
with
62 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters