Skip to content

jorpic/eth-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Benchmark your ethereum node

  1. Generate genesis file with N preloaded accounts.
  2. Generate M raw transactions.
  3. Feed generated transactions to the node via HTTP-RPC.
$ node prepareBenchmark.js <num of accounts> <num of transactions>
$ node runBenchmark.js <transactions per second>

####Geth

$ geth init genesis.geth.json
$ geth \
    --mine --minerthreads 1 \
    --networkid 66 \
    --rpc --nodiscover \
    --cache=2048

####Parity

Parity requires external miner (see here).

$ ethminer --cpu --mining-threads 1 --verbosity 0
$ parity \
    --no-ui --geth \
    --no-discovery \
    --chain genesis.parity.json \
    --author 0x753e381301779a1ca449deaa58f824b50c8993a9

About

Feed bunch of transactions to eth node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published