def main(messages: int, number_of_runs: int) -> None: """Run test.""" click.echo("Start test with messages:") click.echo(f"* Messages: {messages}") click.echo(f"* Number of runs: {number_of_runs}") print_results(multi_run( int(number_of_runs), run, (int(messages), ), ))
def main(duration: int, runtime_mode: str, number_of_runs: int) -> None: """Run test.""" click.echo("Start test with options:") click.echo(f"* Duration: {duration} seconds") click.echo(f"* Runtime mode: {runtime_mode}") click.echo(f"* Number of runs: {number_of_runs}") print_results( multi_run( int(number_of_runs), run, (duration, runtime_mode), ))
def main(duration, runtime_mode, runner_mode, start_messages, num_of_agents, number_of_runs): """Run test.""" click.echo("Start test with options:") click.echo(f"* Duration: {duration} seconds") click.echo(f"* Runtime mode: {runtime_mode}") click.echo(f"* Runner mode: {runner_mode}") click.echo(f"* Start messages: {start_messages}") click.echo(f"* Number of agents: {num_of_agents}") click.echo(f"* Number of runs: {number_of_runs}") print_results( multi_run( int(number_of_runs), run, (duration, runtime_mode, runner_mode, start_messages, num_of_agents), ))