Skip to content

fix(cache): round prom values so heavy benches fit 2MB cache limit - #405

Merged
Flotapponnier merged 1 commit into
devfrom
feat/per-chain-bench-pages
Jun 11, 2026
Merged

fix(cache): round prom values so heavy benches fit 2MB cache limit#405
Flotapponnier merged 1 commit into
devfrom
feat/per-chain-bench-pages

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

hyperliquid-frontends cached Benchmark was 2.65MB (full-precision float tails: ~1MB of digits), over unstable_cache's 2MB cap, so its cache never persisted: every render redid the full Prom fan-out with no previous-value fallback, causing the intermittent empty renders on staging. Round series and scalars to 6 significant digits.

@Flotapponnier
Flotapponnier merged commit e8d7ab3 into dev Jun 11, 2026
1 check failed
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