Reproducible micro-benchmarks for Ethereum / XDC execution clients. Standard-library Python plus one shell runner. It starts clients as dev-chain nodes, or points at a node you already run, and measures what an operator or RPC provider cares about. Results published by the xone team: https://xone.sh/benchmarks/
git clone https://github.com/xOneSH/xbench && cd xbench
./run.sh # geth, reth, nethermind at pinned versions
XBENCH_DOWNLOAD_XONE=1 ./run.sh # also fetch the pinned xone v0.2.9 release binary
XONE_BIN=/path/to/xone ./run.sh # or benchmark your own xone build (no download)
run.sh downloads each client into a temp dir, checks its sha256 against a pin in the script, runs
xbench.py local, prints a table, writes the raw JSON, and deletes the binaries (about 200 MB without
xone, 250 MB with it). The xone binary is downloaded only if you ask (XBENCH_DOWNLOAD_XONE=1).
Skip clients with SKIP=nethermind (comma-separated). Extra flags go to xbench.py local, e.g.
./run.sh --trials 5 --idle 60 --n 5000.
Pinned in run.sh:
| client | version | source |
|---|---|---|
| xone (opt-in) | v0.2.9 linux-amd64, sha256 f077af9a127b21867011c06db781b342cc72dc6a37017e73be3af7a4291d5dfe |
https://dl.xone.sh/xone/v0.2.9/xone-rs-v0.2.9-linux-amd64 |
| geth | 1.17.10 | gethstore.blob.core.windows.net |
| reth | 2.11.0 | github.com/paradigmxyz/reth releases |
| nethermind | 2.2.2 | github.com/NethermindEth/nethermind releases |
Use another xone build with XONE_URL plus XONE_SHA256 (both required) or XONE_BIN.
run.sh uses the xbench.py next to it; run on its own (for example piped into bash) it fetches it from
raw.githubusercontent.com/xOneSH/xbench/${XBENCH_REF:-main}. Set XBENCH_REF to a tag or commit to pin it.
| metric | how |
|---|---|
| binary size | bytes of the release executable |
| start to first RPC answer | wall time from exec to the first successful eth_blockNumber on HTTP |
| idle RSS | /proc/<pid>/status VmRSS 30 s after start (children included) |
| RPC latency | 50 warm-up calls, then 1,000 sequential calls on one keep-alive connection: eth_blockNumber and eth_call to the identity precompile (0x04); p50 / p99 / mean |
Clients run as dev-chain nodes with no peers (--dev; Nethermind has no --dev, so its bundled
spaceneth preset). Three trials per client, median reported, every trial in the JSON. xone rate-limits
RPC by default, so xbench lifts that limit (--rpc.bucket.burst/--rpc.bucket.rate) to compare like with like.
Nothing else is tuned.
python3 xbench.py rpc --url http://127.0.0.1:8545 --n 5000 --out rpc.json
Run it against each client synced on the same host and the same network.
Start a fresh node with its datadir at DIR and HTTP on 8545, then:
python3 xbench.py disk --datadir DIR --url http://127.0.0.1:8545 --minutes 120 --every 60 --out disk.json
It samples du -sb DIR and the head block every minute and reports bytes_per_100k_blocks. Compare
clients over the same block range; early blocks are much lighter than recent ones.
- We publish losses as well as wins. If xone is slower, uses more memory or loses a metric, the result goes on the page and in this repo.
- Every number must be reproducible. A published number comes with the exact committed command, the pinned binary or image (version and sha256 or digest), and the recorded hardware.
- Record the conditions. Host CPU, kernel, core count, RAM and load average are written into every JSON. A loaded machine is noisy; read all trials, not only the median.
- No cherry-picking. Same host, same run, same flag class for every client. Do not drop trials or clients that look bad, and do not tune one client and not the others.
- Say what a number does not show. Dev-mode, no-peer runs are not mainnet sync performance.
Independent runs are welcome, especially ones where xone does badly. See CONTRIBUTING.md.
xbench can benchmark the xone client but does not contain it. xOneRS is open source under AGPL-3.0-or-later: https://github.com/xOneSH/xone-rs. Commercial licences are available from xOneSH (hello@xone.sh).
Apache-2.0. Copyright 2026 xOneSH. See LICENSE and NOTICE. This covers xbench and
run.sh only, not the clients they benchmark, which keep their own licences.