Skip to content

Add benchmarkoor-dashboard: ethrex EL benchmark dashboard#9

Open
edg-l wants to merge 16 commits into
mainfrom
benchmarkoor-dashboard
Open

Add benchmarkoor-dashboard: ethrex EL benchmark dashboard#9
edg-l wants to merge 16 commits into
mainfrom
benchmarkoor-dashboard

Conversation

@edg-l

@edg-l edg-l commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

New subfolder tool: a FastAPI + Jinja + HTMX + Plotly dashboard over the ethPandaOps Benchmarkoor API, focused on the ethrex EL client.

Sync (app/sync.py) pulls all suites and results into a local SQLite snapshot. The API intermittently returns 5xx under load, so client.py wraps every request in tenacity retry/exponential backoff. Only the newest suite per name is indexed (drops stale regenerated duplicates). Run selection picks the latest full run per (suite, instance) to guard against partial/truncated runs skewing aggregates.

Pages: Overview, Leaderboard (ranked by gas-weighted aggregate Mgas/s = Σgas/Σtime; median/mean/wins/gas-won as secondary columns), Coverage gaps, Compare (per-test ethrex-vs-clients matrix), Trends, Test detail.

Agent API: /agent.md (alias /llm.md) is a self-contained Markdown brief for LLM agents. JSON endpoints /api/targets, /api/targets/by_file, /api/leaderboard, /api/coverage, /api/suites. Optimization targets are ranked by time_lost_ms (ethrex time minus fastest competitor time, summed per file/opcode), which weights by recoverable wall-clock rather than Mgas/s ratio.

API key is read from a gitignored .env (see .env.example). Run: cp .env.example .env, set BENCHMARKOOR_API_KEY, uv sync, uv run python -m app.sync, uv run uvicorn app.main:app.

@edg-l edg-l marked this pull request as ready for review June 11, 2026 09:31
edg-l added 14 commits June 11, 2026 11:40
…op, scaling; file time_lost counts only deficits
…story, time map); expose in api/agent.md/leaderboard/trends
…threx phase ingestion + fkv

- map ethrex runs to bal-devnet-7 commit (gh history, by time); show in api/agent.md/leaderboard/trends
- lazy /run/{id} block-logs viewer + /api/runs/{id}/block_logs (live, no storage)
- stream benchmarkoor.log per ethrex run: per-test exec/merkle/store phase split + fkv catch-up summary; raw logs discarded
- targets now carry phase bottleneck (exec/merkle/store) + merkle overlap and fkv state in /agent.md + /api/{targets,fkv}
…ra/hover, calmer section headers, lighter muted, readable prose width, drop dead badge css
- load Inter globally (UI + Plotly chart font), inline svg favicon
- desaturate client palette; leaderboard bars = ethrex pink vs muted slate (others)
- /run: one clean bar per operation (worst block), fixes segmented-bar collision when ops repeat
- verified all pages via headless browser at 2K
- headroom (Mgas/s if ethrex matched best per test) + deficit portfolio by phase/resource
- staleness: store newest-run ts, header colors by snapshot age
- gas-scaling page (/op): Mgas/s vs gas per op, ethrex vs others
- merkle parallelism page (/merkle): serial-merkle ranking from overlap data
- per-commit op regression: phase_history table appended each sync
- failing-tests surfacing from run aggregate
- regression detection /api/regressions + /api/freshness live check
- unauthenticated GitHub REST fallback for commit fetch (incremental cache) when gh absent
- JSON: /api/{headroom,merkle,failures,regressions,freshness}; nav + overview surfaces
…o vs best per gas), drop op dropdown; keep suite picker, op drill-down via ?op=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant