Benchmark REVM and Go-ethereum executor
110
https://github.com/cassc/rust-evm-bench
Comparing EVM execution performance between go-ethereum and REVM.
Support test json files from ethereum/tests.
⚠️ Caveat: currently if the test json file contains multiple transactions, only the first transaction is tested.
Example usage to test ERC20 transfer
❯ docker run --rm -it -v $(pwd):/app/ -w /app augustus/evm-benches:20250514 /bin/bash
root@075138dc2e20:/app# goevm-bench -n 10000 erc20.bench.input.json
Running 10000 transactions for each test case
Benchmark erc20.bench.input.json 0.37 ms / transaction
root@075138dc2e20:/app# revm-bench -t 1000 erc20.bench.input.json
benchmark erc20.bench.input.json (1.0s) ... 6_430.200 ns/iter (0.996 R²)
Content type
Image
Digest
sha256:1c8b1aa3d…
Size
48.4 MB
Last updated
over 1 year ago
docker pull augustus/evm-benches:20250514