Sitelet https://github.com/GoogleCloudPlatform/evalbench/pull/554
Skip to content

perf(viewer): send only plotted columns to the D3 charts - #554

Open
omkargaikwad23 wants to merge 1 commit into
mainfrom
perf/chart-payload
Open

omkargaikwad23 wants to merge 1 commit into
mainfrom
perf/chart-payload

Conversation

@omkargaikwad23

Copy link
Copy Markdown
Collaborator

generate_d3_chart serialized every column of the trends cache into each
sandboxed iframe, including ai_summary — a ~1.7 KB LLM paragraph per run
that no chart reads. Four charts on 300 runs shipped 2.56 MB of HTML.

Project to the columns the chart actually uses: 131 KB, ~19x smaller.
job_id is kept because chart.js reads it for the hover tooltip.


Stack created with GitHub Stacks CLI • Give Feedback 💬

generate_d3_chart serialized every column of the trends cache into each
sandboxed iframe, including ai_summary — a ~1.7 KB LLM paragraph per run
that no chart reads. Four charts on 300 runs shipped 2.56 MB of HTML.

Project to the columns the chart actually uses: 131 KB, ~19x smaller.
job_id is kept because chart.js reads it for the hover tooltip.
@omkargaikwad23
omkargaikwad23 removed this pull request from stack #562 November 11, 2026 05:46
@omkargaikwad23
omkargaikwad23 changed the base branch from perf/list-summaries-cache to main November 11, 2026 05:46
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