Skip to content

two bench pages shipped 3,000 swaps to show 50, and the hub drew 104 lines in a 400 px card - #2957

Merged
Flotapponnier merged 1 commit into
mainfrom
hotfix/lighter-fat-pages
Oct 12, 2026
Merged

Flotapponnier merged 1 commit into
mainfrom
hotfix/lighter-fat-pages

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Cherry-pick of #2955 (dev) onto main, this commit only.

Verified on staging: terminal-fill-quality 2.40 → 0.64 MB, terminal-execution-quality 2.38 → 0.62 MB, /benchmarks 2.49 → 2.16 MB (sparkline SVG −38%); /api/terminal-fills/swaps returns the 3,000 swaps and is a CDN HIT. tsc and bun test src/lib src/data pass on this branch.

…lines in a 400 px card (#2955)

terminal-fill-quality and terminal-execution-quality were 2.4 MB of HTML
each, 85% of it the audit table's full sample serialised as a client
prop. The page now embeds the 50 most recent rows and the table fetches
the rest from /api/terminal-fills/swaps (CDN-cached 5 min) after
hydration; the summary strip and the CSV wait for the full set.

/benchmarks was 2.5 MB, 1 MB of it sparkline SVG. Bench cards now draw
their 12 best lines (the legend still counts every provider), the card
projection carries only those series, coordinates take one decimal, and
the shared stroke style sits once on a group. Sparkline markup -38%.

ISR writes bill per 8 KB written, so page weight times regenerations is
what that line of the bill measures.

(cherry picked from commit f70a199)
@Flotapponnier
Flotapponnier merged commit 431de14 into main Oct 12, 2026
2 checks passed
@Flotapponnier
Flotapponnier deleted the hotfix/lighter-fat-pages branch October 12, 2026 15:05
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