mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-02 05:15:44 +00:00
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.
18 lines
512 B
Protocol Buffer
18 lines
512 B
Protocol Buffer
syntax = "proto3";
|
|
package loadtime.payload;
|
|
|
|
option go_package = "github.com/tendermint/tendermint/test/loadtime/payload";
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
// Payload is the structure of the loadtime transaction. Proto has a compact
|
|
// encoded representation, making it ideal for the loadtime usecase which aims to
|
|
// keep the generated transactions small.
|
|
message Payload {
|
|
uint64 connections = 1;
|
|
uint64 rate = 2;
|
|
uint64 size = 3;
|
|
google.protobuf.Timestamp time = 4;
|
|
bytes padding = 5;
|
|
}
|