Skip to content

revolutionchain/qtumx-benchmark-script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qtum-benchmark

Tools for benchmarking Qtum node

How it works

image There are 2 stages:

  1. Prepare. Generate enough UTXOs for benchmarking.
  2. Send. Send prepared UTXOs to the node.

How to use

// Download the code and install dependencies
$ git clone https://github.com/zsrem/qtum-benchmark.git
$ cd qtum-benchmark
$ npm install

/**
 * Configuration in bench.js
 * rpcurl
 * number of UTXO to prepare
 * how many UTXOs to split one UTXO into
 * gas per transaction
 */
run('http://test:test@127.0.0.1:12581', 128, 2, 0.1).then()

// Run test
$ node bench.js 
start prepare
valid UTXO number: 1
generated UTXO number: 1
...

About

Tools for benchmarking Qtum node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%