Skip to content

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

Open
omkargaikwad23 wants to merge 1 commit into
perf/list-summaries-cachefrom
perf/chart-payload
Open

perf(viewer): send only plotted columns to the D3 charts#554
omkargaikwad23 wants to merge 1 commit into
perf/list-summaries-cachefrom
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 CLIGive 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.
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