test: add the loadtime tool (#9342)

This pull request adds the loadtime tool. This tool leverages the tm-load-test framework. Using the framework means that the only real logic that needs to be written is the logic for Tx generation. The framework does the rest.

The tool writes a set of metadata into the transaction, including the current transaction rate, number of connections, specified size of the transaction, and the current time.
This commit is contained in:
William Banfield
2022-08-31 16:41:15 -04:00
committed by GitHub
parent f1835338d9
commit 70fd943bdf
11 changed files with 785 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
set -euo pipefail
# A basic invocation of the loadtime tool.
./build/loadtime \
-c 1 -T 10 -r 1000 -s 1024 \
--broadcast-tx-method sync \
--endpoints ws://localhost:26657/websocket