rpc-benchmark
Skill by NethermindEth
Dispatches and interprets the run-rpc-benchmarks.yml workflow for measuring eth_call, trace_*, and debug_* JSON-RPC performance. Aimed at Nethermind contributors who compare a PR image against a cached master baseline.
Install rpc-benchmark
Built from the published package, never by AI.
git clone --depth 1 https://github.com/NethermindEth/nethermind /tmp/nethermind && mkdir -p ~/.claude/skills && cp -r /tmp/nethermind/.agents/skills/rpc-benchmark ~/.claude/skills/rpc-benchmarkRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/NethermindEth/nethermind /tmp/nethermind && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/nethermind/.agents/skills/rpc-benchmark ~/.gemini/antigravity-cli/skills/rpc-benchmarkAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides the use of the run-rpc-benchmarks GitHub Actions workflow. It measures state-reading JSON-RPC calls such as eth_call, eth_getBalance, trace_*, and debug_* against a parked database snapshot on dedicated benchmark runners. The default corpus-ab preset compares a docker_image against a cached master baseline, and a seeded request sequence lets every arm replay identical requests.
The guidance covers runner selection by arch, sizing by request count or passes, usable request rates, and A/B sweeps with optional A/A control rounds. It also explains how baselines are cached and keyed. It is written for developers benchmarking Nethermind RPC performance who need to choose settings that produce reliable results.
Written from the project's SKILL.md and checked against it.
What it can do
- Workflow dispatchShows how to start run-rpc-benchmarks.yml with the gh CLI and explicit docker_image and baseline_image inputs.
- Corpus A/B comparisonCompares a PR image against the cached master baseline on the private eth_call corpus by default.
- Cached master baselineExplains how master baselines are recorded and cached per cell shape, and when a run falls back to measuring master in-job.
- Request rate guidanceLists which request rates give usable results on amd64 and arm64 and which do not.
- Runner selectionDescribes which snapshots and clients each amd64 and ARM benchmark runner holds.
- Corpus sizingExplains sizing a cell with corpus_requests or corpus_passes and how replay draws work.
- A/B and A/A roundsDescribes running two-arm A/B jobs and adding in-run A/A control rounds with rounds=2.
What you need
- GitHub account with access to the NethermindEth repository
- GitHub CLI (gh) to dispatch the workflow
- Access to the benchmark runners and their snapshot sets
- Prebuilt Nethermind Docker image tags
Try asking
- Dispatch an amd64 corpus-ab run comparing my PR image against master.
- Which request rates give usable results for eth_call benchmarks on arm64?
- Size a benchmark cell with corpus_passes 5 on the 497-record corpus.
Good to know
- Rates of 10 rps are not usable because the variance is too high.
- 300 rps on arm64 produced a 1.22% HTTP fail rate that trips the 1% gate.
- Only amd64 baselines refresh automatically, so arm64 corpus-ab runs take a slower two-arm fallback.
- The ethcallchaos benchmark re-reports stale timings with a seeded corpus.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/rpc-benchmark/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to rpc-benchmark
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
rpc-benchmark: common questions
Which request rate should I use for eth_call benchmarks?
The source says 50 to 100 rps gives a coefficient of variation of about 1 to 3% on mean and p50. It says 10 rps is not usable and that 300 rps is amd64 only.
How does the workflow get the master baseline to compare against?
After master pushes that change src/Nethermind, a workflow_run trigger records a master baseline whose aggregates go to the GitHub Actions cache. A PR run then executes only the PR image and compares it against that cached baseline.
Why does the same benchmark sometimes run master in the job?
The source says the cache key includes every knob that shapes the cell, so changing any of them misses the cache. The run then measures master in the job instead.
How do I install rpc-benchmark?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is rpc-benchmark free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is rpc-benchmark safe to use?
It scores 76 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to rpc-benchmark?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
