Skip to content

share/export PNG generator - #16

Merged
Flotapponnier merged 1 commit into
mainfrom
share-cards
May 3, 2026
Merged

share/export PNG generator#16
Flotapponnier merged 1 commit into
mainfrom
share-cards

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Replaces the BibTeX/source 'Reproduce · cite · source' details on bench detail pages with a Share / Export section that produces ready-to-post 1200×630 social cards.

What's new

  • New dynamic route at /benchmarks/<slug>/share-card?template=ranking|snapshot that returns a PNG via next/og ImageResponse, server-rendered with the bench's live data and the dashboard's color palette.
  • Two templates to start:
    • Ranking — provider bars sorted ascending by p50, with values + p99 annotations + provider names below
    • Snapshot — full 24h multi-line chart with legend
  • New ShareSection client component with template tabs, live preview, and Download PNG button (fetches the route, blobs it, saves locally as <slug>-<template>.png)
  • Source code link still surfaces but as a single line at the bottom of the page (no longer behind details)
  • BibTeX block removed (out of step with product framing — academic citation)

Why

Replaces an academic citation block with something actually useful for promo: drop a link to a benchmark, the OG card already nails it; or click Download → drop the PNG straight into Twitter / Reddit / Slack.

Format

1200×630 = standard Twitter / OpenGraph card. Renders correctly in every embedded preview.

@Flotapponnier
Flotapponnier merged commit 6cec4c6 into mainMay 3, 2026
@Flotapponnier
Flotapponnier deleted the share-cards branch May 3, 2026 15:08
Flotapponnier added a commit that referenced this pull request May 21, 2026
* bench #27: solana-tx-landing-latency (active probing)
New separate bench page complementing #16 (observational market share). Measures p50/p99 time-to-land in ms and slots, plus landing rate, across 5 services from us-east at 1h cadence.
Querying solana_landing_probe_* metrics emitted by the active prober (mobula-monorepo PR #6396). Methodology pre-registered at docs/methodology/solana-tx-landing-active.md (PR #79, merged).
Cross-linked with #16 via disclaimer + related_benches field.
* benchmarks: add 4 france-cryptos sprint 1 bench pages (018, 022, 025, 026)
- buyback-audit (#18): Hyperliquid AF + Sky SBE on-chain execution ratio
- token-unlocks (#22): conditional impact median bucketed by % supply
- oracle-deviation (#25): 4 oracles × 10 USD pairs deviation bps
- validator-yield (#26): Solana + Hyperliquid net yield comparison
All specs validated against live Prom prod (https://prometheus-production-0859.up.railway.app).
Editorial scope honest: Sky low ratio = batched execution (not failure),
ARB v1 limitation noted, SOL Chainlink lag flagged as real signal,
'Net of MEV' framing rejected in favor of 'Net Yield Comparison'.
Flotapponnier added a commit that referenced this pull request Jun 4, 2026
…dev) (#299)
Bench #27 (active probing) is rolled back to staging only while the active prober continues its soak period. The YAML remains on dev so it stays accessible on staging-openchainbench.vercel.app. Bench #16 solana-tx-landing (observational) is untouched and stays on prod.
Sign up for freeto 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

@Flotapponnier