gecko/xputtest
swdee a0900b7903 changed xputtest command line arguments to use flagset so we can control the exit code 2020-03-22 12:31:10 +13:00
..
avmwallet Improved UX for xput tests 2020-03-18 16:10:03 -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 Improved UX for xput tests 2020-03-18 16:10:03 -04:00
chains.go Perf (#13) 2020-03-13 17:31:23 -04:00
config.go Perf (#13) 2020-03-13 17:31:23 -04:00
main.go addressed PR comments 2020-03-17 16:07:33 -04:00
network.go Perf (#13) 2020-03-13 17:31:23 -04:00
params.go changed xputtest command line arguments to use flagset so we can control the exit code 2020-03-22 12:31:10 +13:00
spchain.go Improved UX for xput tests 2020-03-18 16:10:03 -04:00
spdag.go addressed PR comments 2020-03-17 16:07:33 -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.