From dc4b14598a56fdc97699199bed6f6ee30757984e Mon Sep 17 00:00:00 2001 From: yihuang Date: Fri, 18 Oct 2024 11:43:27 +0800 Subject: [PATCH] Update testground/benchmark/benchmark/stateless.py Signed-off-by: yihuang --- testground/benchmark/benchmark/stateless.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testground/benchmark/benchmark/stateless.py b/testground/benchmark/benchmark/stateless.py index a77d3ace72..d9541d285d 100644 --- a/testground/benchmark/benchmark/stateless.py +++ b/testground/benchmark/benchmark/stateless.py @@ -231,6 +231,9 @@ def generic_gen_txs(options: dict): @click.option("--datadir", default="/data", type=Path) @click.option("--global-seq", default=0) def generate_load(datadir: Path, global_seq: int): + ''' + manually generate load to an existing node + ''' cfg = json.loads((datadir / "config.json").read_text()) txs = prepare_txs(cfg, datadir, global_seq) asyncio.run(transaction.send(txs))