This role downloads the benchmarking binary on the specified hosts, executes the benchmarks and collects the results locally in results/
(directory will be created in the same path as the Playbook). This role is idempotent and can be executed multiple times on the same machine(s).
The following variables can be adjusted in defaults/main.yml:
Variable | Description |
---|---|
benchmarking_binary_url |
Download location of the benchmarking binary. |
benchmarks |
A list of the benchmarks to execute. |
benchmark_steps |
The number of "steps" one should to take. This varies depending on the input paramters of the benchmark. For example, if the user count could be between 0 and 100, and one picks the steps to 10, it will run benchmarks at 0, 10, 20, 30, ... , 100. |
benchmark_repeat |
The number of times to repeat the exact same benchmark with the exact same input parameters. Total number of benchmarks will be steps * repeat . |
- hosts: servers
roles:
- 'polkadot-module-benchmarks'