gecko/xputtest
StephenButtolph fd083776f4 Added multiple genesii 2020-04-02 23:43:02 -04:00
..
avmwallet Set up genesis for public testnet 2020-03-31 02:54:12 -04:00
chainwallet Improved UX for xput tests 2020-03-18 16:10:03 -04:00
dagwallet addressed PR comments 2020-03-17 16:07:33 -04:00
README.md added simple readme for xput tests 2020-03-17 18:51:30 -04:00
avm.go Set up genesis for public testnet 2020-03-31 02:54:12 -04:00
chains.go Perf (#13) 2020-03-13 17:31:23 -04:00
config.go Set up genesis for public testnet 2020-03-31 02:54:12 -04:00
main.go Added multiple genesii 2020-04-02 23:43:02 -04:00
network.go Perf (#13) 2020-03-13 17:31:23 -04:00
params.go Set up genesis for public testnet 2020-03-31 02:54:12 -04:00
spchain.go Set up genesis for public testnet 2020-03-31 02:54:12 -04:00
spdag.go Set up genesis for public testnet 2020-03-31 02:54:12 -04:00

README.md

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.