internal

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	URL      string // the URL of the cluster
	ChainID  string // the chain ID of the cluster
	Mnemonic string // the mnemonic for the keyring
	Mode     string // the stress test mode
	Output   string // output path for results JSON, if any

	SubAccounts  uint64 // the number of sub-accounts in the run
	Transactions uint64 // the total number of transactions
	BatchSize    uint64 // the maximum size of the batch
}

Config is the central pipeline configuration

func (*Config) Validate

func (cfg *Config) Validate() error

Validate validates the stress-test configuration

type Pipeline

type Pipeline struct {
	// contains filtered or unexported fields
}

Pipeline is the central run point for the stress test

func NewPipeline

func NewPipeline(cfg *Config) *Pipeline

NewPipeline creates a new pipeline instance

func (*Pipeline) Execute

func (p *Pipeline) Execute() error

Execute runs the entire pipeline process

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL