mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-30 11:45:37 +00:00
* 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. * lint
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user