script

package
v0.1.34 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CoordinatorBenchScript

func CoordinatorBenchScript(
	ctx context.Context,
	rand *rand.Rand,
	bcfg CoordinatorBenchConfig,

	round time.Duration,
	fanOut int,
	txsPerSec int,
	numCommits int,

	vcfg proto.Config,
	host string,
	vAddr string,
	vBind string,
	wBind string,
) string

func CoordinatorBenchScripts

func CoordinatorBenchScripts(
	ctx context.Context,
	rand *rand.Rand,
	bcfg CoordinatorBenchConfig,
	hosts []string,
	round time.Duration,
	fanOut int,
	txsPerSec int,
	numCommits int,
) []string

func CoordinatorBenchShellLocal

func CoordinatorBenchShellLocal(
	ctx context.Context,
	rand *rand.Rand,
	round time.Duration,
	numVs int,
	fanOut int,
	tps int,
) string

func CoordinatorLoadgenScript

func CoordinatorLoadgenScript(
	ctx context.Context,
	rand *rand.Rand,
	bcfg CoordinatorLoadgenConfig,

	round time.Duration,
	fanOut int,

	numAccts int,
	txsPerBlock int,
	numBlocks int,

	vcfg proto.Config,
	host string,
	vAddr string,
	vBind string,
	wBind string,
	loadgenAddr string,
	schedAddr string,
) string

func CoordinatorLoadgenScripts

func CoordinatorLoadgenScripts(

	ctx context.Context,
	rand *rand.Rand,
	bcfg CoordinatorLoadgenConfig,
	hosts []string,
	round time.Duration,
	fanOut int,

	numAccts int,
	txsPerBlock int,
	numBlocks int,
	loadgenAddr string,
	schedAddr string,
) []string

Types

type BenchDogwoodExecDef

type BenchDogwoodExecDef struct {
	TreeFanOut    uint32
	BytesPerPay   int
	NumIterations int
	//
	MetricsPort int
	BenchPort   int
	//
	Stack        bool
	CPUProfile   bool
	MemProfile   bool
	BlockProfile bool
	TraceProfile bool
}

func (BenchDogwoodExecDef) ExecScripts

func (def BenchDogwoodExecDef) ExecScripts(
	ctx context.Context,
	rand *rand.Rand,
	preamble string,
	chuckdPath string,
	hosts []string,
	staggerPorts bool,
	cmdSuffix []string,
) (perHost []string)

func (BenchDogwoodExecDef) HostScripts

func (def BenchDogwoodExecDef) HostScripts(
	ctx context.Context,
	rand *rand.Rand,
	chuckdPath string,
	host ...string,
) []string

func (BenchDogwoodExecDef) LocalScript

func (def BenchDogwoodExecDef) LocalScript(
	ctx context.Context,
	rand *rand.Rand,
	chuckdPath string,
	numHost int,
) string

type BenchEchoExecDef

type BenchEchoExecDef struct {
	NumConns        int
	MaxPendingCalls int
	NumIterations   int
	BytesPerPay     int
	NoEcho          bool
	//
	MetricsPort int
	BenchPort   int
	//
	Stack        bool
	CPUProfile   bool
	MemProfile   bool
	BlockProfile bool
	TraceProfile bool
}

func (BenchEchoExecDef) ExecScripts

func (def BenchEchoExecDef) ExecScripts(
	ctx context.Context,
	rand *rand.Rand,
	chuckdPath string,
	hosts []string,
	cmdSuffix string,
) (perHost []string)

type CoordinatorBenchConfig

type CoordinatorBenchConfig struct {
	ValidatorPort  int // 50000
	WalletPort     int // 40000
	MetricsPort    int // 2223
	DebugPort      int // 5500
	ScpHandlePort  int // 3300
	ScpControlPort int // 4400
}

type CoordinatorLoadgenConfig

type CoordinatorLoadgenConfig struct {
	ValidatorPort  int // 50000
	WalletPort     int // 40000
	MetricsPort    int // 2223
	DebugPort      int // 5500
	ScpHandlePort  int // 3300
	ScpControlPort int // 4400
}

Jump to

Keyboard shortcuts

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