Team Ai
Datasetpublic

OpenChainBench/benchmarks

OpenChainBench Crypto Infrastructure Benchmarks Daily snapshots of every public benchmark on openchainbench.com, released as Hive-partitioned Parquet under CC-BY-4.0. OCB measures latency, cost, coverage and accuracy of crypto infrastructure (RPCs, oracles, bridges, data APIs, Polymarket adapters, Hyperliquid builders). Every snapshot here mirrors the /api/citable, /api/stat/<slug>, and /api/series/<slug> JSON feeds at the time of capture. Latest snapshot: 2026-10-10 (captured… See the full description on the dataset page: https://huggingface.co/datasets/OpenChainBench/benchmarks.

sourceHugging Facecc-by-4.0updated 8h agoView on Hugging Face
1likes1.2kdownloads
03_duckdb.sql33 linesDownload Raw Back to examples
1-- DuckDB can read Parquet directly from Hugging Face over httpfs.2-- Install once:3--   INSTALL httpfs; LOAD httpfs;4-- Then run any query like the ones below.5 6-- 1) Today's leader per benchmark, sorted by sample size7WITH latest AS (8  SELECT max(snapshot_date) AS d9  FROM 'hf://datasets/OpenChainBench/benchmarks/headlines/**/*.parquet'10)11SELECT slug, leader_name, value, unit, sample_size12FROM 'hf://datasets/OpenChainBench/benchmarks/headlines/**/*.parquet'13WHERE snapshot_date = (SELECT d FROM latest)14ORDER BY sample_size DESC;15 16-- 2) 7-day p50 trend for one bench / one provider17SELECT snapshot_date, p50, p90, p99, success_rate18FROM 'hf://datasets/OpenChainBench/benchmarks/providers/**/*.parquet'19WHERE bench_slug = 'bridge-quote-latency'20  AND provider_slug = 'mobula'21ORDER BY snapshot_date DESC22LIMIT 7;23 24-- 3) Sparkline for today, one bench25SELECT point_index, value26FROM 'hf://datasets/OpenChainBench/benchmarks/timeseries/**/*.parquet'27WHERE bench_slug = 'bridge-quote-latency'28  AND snapshot_date = (29    SELECT max(snapshot_date)30    FROM 'hf://datasets/OpenChainBench/benchmarks/timeseries/**/*.parquet'31  )32ORDER BY point_index;33