shilei-wang / irishub-load

A simple tool for IRIS hub load testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

irishub-load

This simple tool is used to execute stress test for irishub.

How to use

Step.1 Create test accounts and send test-iris to these accounts

  1. Copy config.json to $HOME (Set the parameters if necessary)
  2. ./irishub-load init --config-dir=$HOME

Step.2 Sign about tps * duration * 60 TXs, to avoid Sequence Conflict we use 5 different accounts (user0 user1 user2 user3 user4)

./irishub-load signtx --config-dir=$HOME --tps=100 --duration=1 --account=user0

Step.3 Broadcast tps TXs for every second

./irishub-load broadcast --config-dir=$HOME --tps=100

How to compile

  1. dep ensure -v
  2. go install

About

A simple tool for IRIS hub load testing


Languages

Language:Go 99.8%Language:Makefile 0.2%