Skip to content

feat(bench): add embeddable chart endpoints with PNG rendering#2833

Open
hubcio wants to merge 1 commit intomasterfrom
bench-dashboard-embeddings
Open

feat(bench): add embeddable chart endpoints with PNG rendering#2833
hubcio wants to merge 1 commit intomasterfrom
bench-dashboard-embeddings

Conversation

@hubcio
Copy link
Contributor

@hubcio hubcio commented Feb 27, 2026

The dashboard lacked a way to share benchmark charts externally
(e.g. in GitHub issues, docs, or third-party pages).

Add /embed/{uuid} for client-side rendering (self-contained HTML
page with ECharts) and /embed/{uuid}/chart.png for server-side
PNG rendering (charming SSR with deno_core/V8). A dedicated
render thread pins V8 to a single OS thread, with disk caching
so only the first request per variant incurs render cost. The
frontend gets an embed modal (iframe/image tabs, markdown/HTML
snippets, copy/download) wired to a topbar button.

@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.65%. Comparing base (71eb4d5) to head (46f9f5b).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2833      +/-   ##
============================================
- Coverage     67.66%   67.65%   -0.02%     
  Complexity      708      708              
============================================
  Files          1030     1030              
  Lines         83846    83846              
  Branches      60704    60714      +10     
============================================
- Hits          56733    56723      -10     
  Misses        24765    24765              
- Partials       2348     2358      +10     
Flag Coverage Δ
csharp 67.06% <ø> (-0.19%) ⬇️
go 6.84% <ø> (ø)
java 54.02% <ø> (ø)
node 92.26% <ø> (-0.15%) ⬇️
python 0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hubcio hubcio force-pushed the bench-dashboard-embeddings branch 6 times, most recently from 2abc9bf to 034b109 Compare February 27, 2026 22:12
The dashboard lacked a way to share benchmark charts externally
(e.g. in GitHub issues, docs, or third-party pages).

Add /embed/{uuid} for client-side rendering (self-contained HTML
page with ECharts) and /embed/{uuid}/chart.png for server-side
PNG rendering (charming SSR with deno_core/V8). A dedicated
render thread pins V8 to a single OS thread, with disk caching
so only the first request per variant incurs render cost. The
frontend gets an embed modal (iframe/image tabs, markdown/HTML
snippets, copy/download) wired to a topbar button.
@hubcio hubcio force-pushed the bench-dashboard-embeddings branch from 034b109 to 46f9f5b Compare February 27, 2026 22:17
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