Files
tendermint/test/loadtime
2022-09-01 17:49:25 -04:00
..
2022-09-01 17:49:25 -04:00
2022-09-01 17:49:25 -04:00
2022-09-01 17:49:25 -04:00
2022-08-31 16:41:15 -04:00
2022-08-31 16:41:15 -04:00
2022-08-31 16:41:15 -04:00

loadtime

This directory contains loadtime, a tool for generating transaction load against Tendermint. loadtime generates transactions that contain the timestamp corresponding to when they were generated as well as additional metadata to track the variables used when generating the load.

Building loadtime

The Makefile contains a target for building the loadtime tool.

The following command will build the tool and place the resulting binary in ./build/loadtime.

make build

Use

loadtime leverages the tm-load-test framework. As a result, all flags and options specified on the tm-load-test apply to loadtime.

Below is a basic invocation for generating load against a Tendermint websocket running on localhost:25567

loadtime \
    -c 1 -T 10 -r 1000 -s 1024 \
    --broadcast-tx-method sync \
    --endpoints ws://localhost:26657/websocket