Help us shape the future of Go! Take the 2026 Go Developer Survey

xputtest

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2020 License: BSD-3-Clause Imports: 27 Imported by: 0

README

Throughput testing

A throughput test is run in two parts. First a network must be running with at least one of the nodes running a throughput server. To start a throughput server when running a node the --xput-server-enabled=true flag should be passed.

An example single node network can be started with:

./build/ava --public-ip=127.0.0.1 --xput-server-port=9652 --xput-server-enabled=true --db-enabled=false --staking-tls-enabled=false --snow-sample-size=1 --snow-quorum-size=1

The thoughput node can be started with:

./build/xputtest --ip=127.0.0.1 --port=9652 --sp-chain

The above example with run a throughput test on the simple payment chain. Tests can be run with --sp-dag to run throughput tests on the simple payment dag. Tests can be run with --avm to run throughput tests on the AVA virtual machine.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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