
OpenChainBench
io.github.Flotapponnierv1.0.0更新于 Sep 29, 2026
Live, neutral benchmarks for public RPC latency, oracles, bridges, perp DEX, and prediction markets.
安装
在 SourceWeft 中
- 打开 控制台中的 OpenChainBench,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"openchainbench": {
"type": "http",
"url": "https://openchainbench.com/api/mcp/mcp"
}
}
}README
OpenChainBench
Open, reproducible benchmarks for crypto infrastructure. Aggregators, bridges, RPCs, oracles, price feeds, prediction markets, perp DEXes, cross-chain messaging. Same metric, same conditions, every provider. Live at openchainbench.com.
[License: MIT] [Data: CC-BY-4.0] [Benchmarks] [MCP] [llms.txt]
OpenChainBench publishes one benchmark at a time, each shipping with the harness that produces its data. The goal is to make performance an observable property of crypto infra, measured in the open, by anyone who wants to add a provider or a metric.
Community-run, MIT-licensed harnesses + CC-BY-4.0 data, PRs from any party including the providers we benchmark.
At a glance
- 94 live benchmark specs across 8 categories (RPCs, Trading, Aggregators, Bridges, Blockchains, RWA, Explorers, NFT APIs)
- 50 self-contained Go harnesses, each shipping a
/metricsPrometheus endpoint - 32 curated question/answer pages · 23 "alternatives to X" landing pages
- 26 machine-readable API routes (citation, badges, MCP, feeds, per-format quotes)
- One shared Prometheus, one materialization worker, CDN-fastpath snapshot store: cold reads in < 100 ms edge, no origin fan-out on hot paths
Quickstart
Adding a benchmark, writing a harness, or fixing a number: see CONTRIBUTING.md + the visual walkthrough at /contribute.
Machine-readable surfaces
Every benchmark is licensed CC-BY-4.0 and exposed through endpoints designed for citation by journalists, devs, and AI agents:
Structured data on every bench page: Dataset + StatisticalReport + Observation + TechArticle + FAQPage + BreadcrumbList JSON-LD, plus a schema.org Dataset microdata graph layered on the visible "At a glance" infobox.
Journalist citation format (what /api/stat/<slug>.headlineSentence emits):
Site surfaces
Architecture
- Harnesses + Prometheus + worker + Redis + SRH run on one VPS (
ocb-par-mainin Paris) via docker compose. A handful of multi-region harnesses (rpc-capabilities-us/eu/sgp, evm-quote-latency, aggregator-head-lag regional) stay on Railway and federate into the VPS Prom. - Worker publishes atomic snapshots every 60 s to Redis + CDN blobs at
kv.openchainbench.com/aggregate/{latest,benches/<slug>,variants/<slug>/<sig>}.json. Site reads CDN first (~20 ms edge), falls back to SRH, then to the last-known-good snapshot key on cold cache. - Site is Next.js 16 App Router on Vercel Fluid Compute. Auto-deploy from
mainon every push (with sitemap smoke test + auto-rollback + bench-page warm-up);devbranch runs on staging preview. - Middleware (
src/middleware.ts) handles lowercase 308 normalization,/compare/<b>-vs-<a>→ canonical alphabetical, 410 Gone for removed benches, 301 for renamed ones, and cache-key normalization on read-only public APIs. - Live stream relay (WebSocket at
wss://stream.openchainbench.com/ws) is a separate service run by the OpenChainBench maintainers because it holds upstream API keys; the browser talks to it directly, Vercel only serves the static shell.
Full walkthrough with diagrams + a "clone-and-run-it-yourself" section is in docs/architecture.md.
Repo layout
Contributing
Read CONTRIBUTING.md for the long-form guide. TL;DR:
- Float an idea in Discussions
- Open a
📊 Propose a benchmarkissue with the metric + methodology - Write the harness (Go recommended, any language shipping
/metricsworks) - Host it (anywhere with HTTPS + public
/metrics) - Open a PR against
dev: spec YAML + harness ref + Prom scrape config - Review on the staging preview; merge to
mainwhen data lands
Editorial conventions
- Same metric, same conditions. If two providers can't be measured identically, they don't share a bench.
- Provider marketing does not shape published numbers. Public methodology + reproducible harness are the only source of truth.
- Retirement over removal. Retired benches return
410 Gonewith a link to the current catalog so previously-indexed URLs decay cleanly. - Freshness signals everywhere. Every citable surface carries
dateModified+asOfso LLMs can tell fresh data from stale. - Draft benches never quote a number. If quorum drops, the page renders "awaiting samples" rather than a fabricated leader.
Community + license
- Discussions: github.com/ChainBench/OpenChainBench/discussions
- Twitter/X: @OpenChainBench
- Wikidata: Q140172649
- Zenodo DOI: 10.5281/zenodo.20800311
- Hugging Face dataset mirror: OpenChainBench/benchmarks (daily parquet snapshots)
License: harness code MIT · dataset CC-BY-4.0 · attribution required. See LICENSE.
来源:README.md,提交 6e26515
工具
0版本历史
1- v1.0.0最新Sep 16, 2026

