fix: overhaul benchmark dashboard UI and fix broken URLs#374
Conversation
- Fix [object Object] errors by correctly extracting run IDs from index data - Replace raw scenario names (passthrough, json_parse, filter) with friendly titles and inline SQL config snippets showing what each benchmark actually does - Remove stddev columns from competitive and run detail tables - Add 'Back to Docs' navigation links across all dashboard pages - Modernize CSS: solid backgrounds, higher contrast, better typography - Fix incorrect bench.yml URLs (strawgate.com → strawgate.github.io) - Fix incorrect benchmarking.md URL path (/dev/bench/ → /bench/) - Fix undefined canvasId bug in run detail page
|
Caution Review failedPull request was closed or merged during review WalkthroughThis pull request updates benchmark dashboard infrastructure and presentation. It migrates GitHub Pages URLs from Possibly related PRs
Comment |
Summary
Fixes multiple issues with the benchmark dashboard that made it non-functional and hard to use.
Bug Fixes
[object Object]errors: Run IDs were being used as objects instead of extracting the.idfield, causing all data fetches to failbench.ymlworkflow andbenchmarking.mddocs pointed to wrong domains (strawgate.com→strawgate.github.io) and paths (/dev/bench/→/bench/)canvasIdinrun.htmlcaused charts on the run detail page to silently failUX Improvements
passthrough→ Passthrough (No Transforms),json_parse→ JSON Parsing & Extraction, etc.SELECT * FROM logs WHERE level_str IN ('WARN', 'ERROR')), so readers know exactly what the benchmark is doingStyling
Files Changed
bench/dashboard/style.cssbench/dashboard/index.htmlbench/dashboard/competitive.htmlbench/dashboard/run.html.github/workflows/bench.ymlbook/src/development/benchmarking.md