Repository navigation
two bench pages shipped 3,000 swaps to show 50, and the hub drew 104 lines in a 400 px card - #2957
Merged
Merged
Conversation
…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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/swapsreturns the 3,000 swaps and is a CDN HIT. tsc andbun test src/lib src/datapass on this branch.