evm-speedtests

different types of speed-tests

balance checks

go run cmd/balance-query/balance-query.go --dbBasePath=path_to_db/dev/ --runs xx

10 balances

Took 23.875µs on erigon-db for 10 balances
Took 51.20575ms on batch-call for 10 balances

250 balances

Took 109.792µs on erigon-db for 250 balances
Took 53.676209ms on batch-call for 250 balances

25000

Took 6.95025ms on erigon-db for 25000 balances
Took 243.709041ms on batch-call for 25000 balances

100000

Took 31.580667ms on erigon-db for 100000 balances
Took 865.844834ms on batch-call for 100000 balances

GitHub

View Github