Documentation ¶
Index ¶
- func BuildAndSendTransactions(ethclient *ethclient.Client, runtime tooltypes.TxBuilder, ...) ([]*types.Transaction, error)
- func RunRpcBenchmarks(parsedNodes tooltypes.Nodes, test tooltypes.LoadTest, verbose bool, ...) (map[string]tooltypes.LoadTestOutput, error)
- type Benchmarker
- type RpcBenchmarker
- type TxBenchmarker
- type TxBenchmarkerContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAndSendTransactions ¶
func BuildAndSendTransactions(ethclient *ethclient.Client, runtime tooltypes.TxBuilder, ctx *TxBenchmarkerContext) ([]*types.Transaction, error)
func RunRpcBenchmarks ¶
Types ¶
type Benchmarker ¶
type Benchmarker struct {
// contains filtered or unexported fields
}
func NewBenchmarker ¶
func NewBenchmarker(cfg *config.EnvConfig) (*Benchmarker, error)
func (*Benchmarker) Initialize ¶
func (b *Benchmarker) Initialize() error
func (*Benchmarker) RunBenchmarks ¶
func (b *Benchmarker) RunBenchmarks(ctx context.Context)
type RpcBenchmarker ¶
type RpcBenchmarker struct {
// contains filtered or unexported fields
}
func NewRpcBenchmarker ¶
func (*RpcBenchmarker) Run ¶
func (b *RpcBenchmarker) Run() error
type TxBenchmarker ¶
type TxBenchmarker struct {
// contains filtered or unexported fields
}
func NewTxBenchmarker ¶
func (*TxBenchmarker) Initialize ¶
func (t *TxBenchmarker) Initialize() error
func (*TxBenchmarker) Run ¶
func (t *TxBenchmarker) Run() error
type TxBenchmarkerContext ¶
type TxBenchmarkerContext struct { AccountIndexes []int NumTxs int BatchSize int Mnemonic string URL string }
func NewTxBenchmarkerContext ¶
func NewTxBenchmarkerContext(accountIndexes []int, numTxs, batchSize int, mnemonic, url string) *TxBenchmarkerContext
Click to show internal directories.
Click to hide internal directories.